registerWith static method

void registerWith(
  1. Registrar registrar
)

Registers this class as the default instance of SecureScreenWrapperWeb

Implementation

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

  final pluginInstance = SecureScreenWrapperWeb();
  channel.setMethodCallHandler(pluginInstance._handleMethodCall);
}