detectFile method
Detects documents in the given image file.
Parameters:
file
: path to the file.
Returns a List of DocumentResult on success, or null
if the image could not be detected.
Implementation
@override
Future<List<DocumentResult>?> detectFile(String file) async {
return _ddnManager.detectFile(file);
}