detectFile method
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);
}