Mark use of deprecated type. (#106282)
This commit is contained in:
parent
3313c69ded
commit
94e318456e
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user