Mark use of deprecated type. (#106282)

This commit is contained in:
Lasse R.H. Nielsen 2022-06-23 00:13:05 +02:00 committed by GitHub
parent 3313c69ded
commit 94e318456e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ void main() async {
try { try {
await compute(throwNull, null); await compute(throwNull, null);
} catch (e) { } catch (e) {
if (e is! NullThrownError) { if (e is! NullThrownError) { // ignore: deprecated_member_use
throw Exception('compute returned bad result'); throw Exception('compute returned bad result');
} }
} }