registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

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

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