File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/camera/camera_platform_interface Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11## NEXT
22
33* Ignores unnecessary import warnings in preparation for [ upcoming Flutter changes] ( https://github.com/flutter/flutter/pull/104231 ) .
4+ * Ignores missing return warnings in preparation for [ upcoming analysis changes] ( https://github.com/flutter/flutter/issues/105750 ) .
45
56## 2.2.0
67
Original file line number Diff line number Diff line change @@ -130,7 +130,12 @@ class MethodChannelCamera extends CameraPlatform {
130130 'cameraId' : cameraId,
131131 'imageFormatGroup' : imageFormatGroup.name (),
132132 },
133- ).catchError (
133+ )
134+ // TODO(srawlins): This should return a value of the future's type. This
135+ // will fail upcoming analysis checks with
136+ // https://github.com/flutter/flutter/issues/105750.
137+ // ignore: body_might_complete_normally_catch_error
138+ .catchError (
134139 (Object error, StackTrace stackTrace) {
135140 if (error is ! PlatformException ) {
136141 throw error;
You can’t perform that action at this time.
0 commit comments