Future<List<Barcode>> detectBarcodeFromFile(File file) async => _detectBarcodeFromFile == null ? [] : await _detectBarcodeFromFile!.call(file);