registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

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

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