instance property
WebViewCookieManagerPlatform?
instance
The instance of WebViewCookieManagerPlatform to use.
Implementation
static WebViewCookieManagerPlatform? get instance => _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;
}