registerWith static method

void registerWith(
  1. Registrar registrar
)

Implementation

static void registerWith(Registrar registrar) {
  WebPlatformInAppWebViewPlatform.registerWith();
  // ignore: unused_local_variable
  final pluginInstance = InAppWebViewFlutterPlugin(registrar);
  // ignore: unused_local_variable
  final platformUtil = PlatformUtil(messenger: registrar);
  // ignore: unused_local_variable
  final headlessManager = HeadlessInAppWebViewManager(messenger: registrar);
  _nativeCommunication = allowInterop(_dartNativeCommunication);
}