detectFile method

  1. @override
Future<List<DocumentResult>> detectFile(
  1. String file
)
override

Document edge detection. file - path to the file. Returns a List of DocumentResult.

Implementation

@override
Future<List<DocumentResult>> detectFile(String file) async {
  List? results = await methodChannel.invokeListMethod<dynamic>(
    'detectFile',
    {'file': file},
  );

  return _resultWrapper(results);
}