registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

static void registerWith(Registrar registrar) {
  final MethodChannel channel = MethodChannel(
    'flutter_barcode_sdk',
    const StandardMethodCodec(),
    registrar,
  );

  final pluginInstance = FlutterBarcodeSdkWeb();
  channel.setMethodCallHandler(pluginInstance.handleMethodCall);
}