registerWith static method Null safety

void registerWith(
  1. Registrar registrar
)

Implementation

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

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