getCookies method

Future<List<WebViewCookie>> getCookies({
  1. required Uri domain,
})

Gets a list of existing cookie for specified domain from all WebView instances of the application.

Each platform can have different url requirements. Please check individual platform implementation for details.

Implementation

Future<List<WebViewCookie>> getCookies({required Uri domain}) {
  return platform.getCookies(domain);
}