PlatformContainerController.static constructor
Creates a controller for static methods.
Implementation
factory PlatformContainerController.static() {
assert(
InAppWebViewPlatform.instance != null,
'A platform implementation for `flutter_inappwebview_forge` has not been set. Please '
'ensure that an implementation of `InAppWebViewPlatform` has been set.',
);
final controller = InAppWebViewPlatform.instance!
.createPlatformContainerControllerStatic();
PlatformInterface.verify(controller, _token);
return controller;
}