scanImage method

  1. @override
Future<Map<String, dynamic>> scanImage({
  1. required String imagePath,
  2. required double threshold,
})
override

Implementation

@override
Future<Map<String, dynamic>> scanImage({
  required String imagePath,
  required double threshold,
}) async {
  final result = await methodChannel.invokeMethod<dynamic>('scanImage', {
    'imagePath': imagePath,
    'threshold': threshold,
  });

  return _asStringDynamicMap(result);
}