decodeFile method

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

Decodes barcodes from an image file.

  • file: The path to the image file.

Returns a list of detected barcodes.

Implementation

Future<List<Map<dynamic, dynamic>>> decodeFile(String file) async {
  return _barcodeManager.decodeFile(file);
}