decodeFile method

Future<List<Map>> decodeFile(
  1. String filename
)

Decode barcodes from an image file.

Implementation

Future<List<Map<dynamic, dynamic>>> decodeFile(String filename) async {
  List<dynamic> barcodeResults =
      await handleThenable(_barcodeReader.decode(filename));

  return _resultWrapper(barcodeResults);
}