instance property

The instance of InAppWebViewPlatform to use.

Implementation

static InAppWebViewPlatform? get instance => _instance;
void instance=(InAppWebViewPlatform? instance)

Platform-specific plugins should set this with their own platform-specific class that extends InAppWebViewPlatform when they register themselves.

Implementation

static set instance(InAppWebViewPlatform? instance) {
  if (instance == null) {
    throw AssertionError(
        'Platform interfaces can only be set to a non-null instance');
  }

  PlatformInterface.verify(instance, _token);
  _instance = instance;
}