registerWith static method
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);
flutterInAppWebView?.nativeCommunication = ((String method, JSAny viewId,
[JSArray? args]) =>
_dartNativeCommunication(method, viewId, args?.toDart).toJS).toJS;
}