registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

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

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