Julian Steenbakker

bug: fixed return type of analyzeImage

@@ -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.