decodeFile method
Decodes barcodes from an image file.
The filename
parameter should be the path or URL of the image file.
Implementation
Future<List<Map<dynamic, dynamic>>> decodeFile(String filename) async {
CapturedResult barcodeResults =
await handleThenable(_barcodeReader!.capture(filename, ""));
return _resultWrapper(barcodeResults.items);
}