getAllCookieStores method

Future<List<CookieStore>> getAllCookieStores()

Lists all existing cookie stores.

Implementation

Future<List<CookieStore>> getAllCookieStores() async {
  var $res =
      await promiseToFuture<JSArray>($js.chrome.cookies.getAllCookieStores());
  return $res.toDart
      .cast<$js.CookieStore>()
      .map((e) => CookieStore.fromJS(e))
      .toList();
}