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