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

View File

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