getAllCookies method
Fetches all stored cookies.
Officially Supported Platforms/Implementations:
- iOS WKWebView 11.0+ (Official API - WKHTTPCookieStore.getAllCookies)
- macOS WKWebView 10.13+ (Official API - WKHTTPCookieStore.getAllCookies)
- Linux WPE WebKit (Official API - webkit_cookie_manager_get_all_cookies)
Use the PlatformCookieManager.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<List<Cookie>> getAllCookies() => platform.getAllCookies();