Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -260,7 +260,7 @@ class MobileScannerController { | @@ -260,7 +260,7 @@ class MobileScannerController { | ||
| 260 | /// | 260 | /// |
| 261 | /// [path] The path of the image on the devices | 261 | /// [path] The path of the image on the devices |
| 262 | Future<bool> analyzeImage(String path) async { | 262 | Future<bool> analyzeImage(String path) async { |
| 263 | - return methodChannel.invokeMethod('analyzeImage', path) as bool; | 263 | + return methodChannel.invokeMethod('analyzeImage', path) as Future<bool>; |
| 264 | } | 264 | } |
| 265 | 265 | ||
| 266 | /// Disposes the MobileScannerController and closes all listeners. | 266 | /// Disposes the MobileScannerController and closes all listeners. |
-
Please register or login to post a comment