CookieStore class
Represents a cookie store in the browser. An incognito mode window, for instance, uses a separate cookie store from a non-incognito window.
class CookieStore extends ChromeObject { CookieStore({String id, List<int> tabIds}) { if (id != null) this.id = id; if (tabIds != null) this.tabIds = tabIds; } CookieStore.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * The unique identifier for the cookie store. */ String get id => jsProxy['id']; set id(String value) => jsProxy['id'] = value; /** * Identifiers of all the browser tabs that share this cookie store. */ List<int> get tabIds => listify(jsProxy['tabIds']); set tabIds(List<int> value) => jsProxy['tabIds'] = jsify(value); }
Extends
ChromeObject > CookieStore
Constructors
new CookieStore({String id, List<int> tabIds}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
CookieStore({String id, List<int> tabIds}) { if (id != null) this.id = id; if (tabIds != null) this.tabIds = tabIds; }
new CookieStore.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
CookieStore.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String id #
The unique identifier for the cookie store.
String get id => jsProxy['id'];
set id(String value) => jsProxy['id'] = value;
List<int> tabIds #
Identifiers of all the browser tabs that share this cookie store.
List<int> get tabIds => listify(jsProxy['tabIds']);
set tabIds(List<int> value) => jsProxy['tabIds'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();