setCookie method
Sets a cookie for all WebView instances.
Implementation
@override
Future<void> setCookie(WebViewCookie cookie) {
if (!_isValidPath(cookie.path)) {
throw ArgumentError(
'The path property for the provided cookie was not given a legal value.');
}
return MethodChannelWebViewPlatform.setCookie(cookie);
}