setCookie method

Future<void> setCookie(
  1. WebViewCookie cookie
)

Sets a cookie for all WebView instances.

This is a no op on iOS versions below 11.

Implementation

Future<void> setCookie(WebViewCookie cookie) =>
    WebViewCookieManagerPlatform.instance!.setCookie(cookie);