diff --git a/plugins/aves_report_crashlytics/lib/aves_report_platform.dart b/plugins/aves_report_crashlytics/lib/aves_report_platform.dart index 876644568..11337eff3 100644 --- a/plugins/aves_report_crashlytics/lib/aves_report_platform.dart +++ b/plugins/aves_report_crashlytics/lib/aves_report_platform.dart @@ -71,7 +71,7 @@ class PlatformReportService extends ReportService { if (exception is PlatformException && stack != null) { stack = ReportService.buildReportStack(stack, level: 2); } - if (exception! is UnreportedStateError) { + if (exception is! UnreportedStateError) { return _instance?.recordError(exception, stack); } }