From 94e318456e5909e5aa05b06d2d0d2cabdbc6b3f0 Mon Sep 17 00:00:00 2001 From: "Lasse R.H. Nielsen" Date: Thu, 23 Jun 2022 00:13:05 +0200 Subject: [PATCH] Mark use of deprecated type. (#106282) --- .../foundation/_compute_caller_unsound_null_safety_error.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/test/foundation/_compute_caller_unsound_null_safety_error.dart b/packages/flutter/test/foundation/_compute_caller_unsound_null_safety_error.dart index 8ceaddbc97..971670099b 100644 --- a/packages/flutter/test/foundation/_compute_caller_unsound_null_safety_error.dart +++ b/packages/flutter/test/foundation/_compute_caller_unsound_null_safety_error.dart @@ -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'); } }