PlatformWebViewCookieManager constructor
PlatformWebViewCookieManager()
Creates a new PlatformWebViewCookieManager
Implementation
factory PlatformWebViewCookieManager(
PlatformWebViewCookieManagerCreationParams params) {
assert(
WebViewPlatform.instance != null,
'A platform implementation for `webview_flutter` has not been set. Please '
'ensure that an implementation of `WebViewPlatform` has been set to '
'`WebViewPlatform.instance` before use. For unit testing, '
'`WebViewPlatform.instance` can be set with your own test implementation.',
);
final PlatformWebViewCookieManager cookieManagerDelegate =
WebViewPlatform.instance!.createPlatformCookieManager(params);
PlatformInterface.verify(cookieManagerDelegate, _token);
return cookieManagerDelegate;
}