instance property

The instance of WebViewCookieManagerPlatform to use.

Implementation

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

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

Implementation

static set instance(WebViewCookieManagerPlatform? instance) {
  if (instance == null) {
    throw AssertionError(
        'Platform interfaces can only be set to a non-null instance');
  }
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}