mirror of
https://github.com/flutter/flutter
synced 2024-09-20 00:32:02 +00:00
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…
Reference in a new issue