BarcodeViewController.data constructor

BarcodeViewController.data(
  1. int id
)

Implementation

BarcodeViewController.data(int id)
    : _channel =
          MethodChannel('plugins.codingwithtashi/barcode_scanner_view_$id') {
  log("Initializing BarcodeViewController with id: $id");
  _channel.setMethodCallHandler(_handleMethodCall);
}