initBarcodeScanner method

void initBarcodeScanner(
  1. BarcodeScanner scanner
)

Initialize Barcode Scanner.

Implementation

void initBarcodeScanner(BarcodeScanner scanner) {
  _barcodeScanner = scanner;
  _barcodeScanner.onFrameRead = allowInterop((results) =>
      {globalCallback(callbackResults(_resultWrapper(results)))});
}