getAllCookies method

Future<List<Cookie>> getAllCookies()

Fetches all stored cookies.

NOTE: available on iOS 11.0+.

Official iOS API: https://developer.apple.com/documentation/webkit/wkhttpcookiestore/2882005-getallcookies

Implementation

Future<List<Cookie>> getAllCookies() async {
  return CookieManager.instance().getAllCookies();
}