registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

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

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