CookiesGetAllParams class
class CookiesGetAllParams extends ChromeObject {
CookiesGetAllParams({String url, String name, String domain, String path, bool secure, bool session, String storeId}) {
if (url != null) this.url = url;
if (name != null) this.name = name;
if (domain != null) this.domain = domain;
if (path != null) this.path = path;
if (secure != null) this.secure = secure;
if (session != null) this.session = session;
if (storeId != null) this.storeId = storeId;
}
CookiesGetAllParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* Restricts the retrieved cookies to those that would match the given URL.
*/
String get url => jsProxy['url'];
set url(String value) => jsProxy['url'] = value;
/**
* Filters the cookies by name.
*/
String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;
/**
* Restricts the retrieved cookies to those whose domains match or are
* subdomains of this one.
*/
String get domain => jsProxy['domain'];
set domain(String value) => jsProxy['domain'] = value;
/**
* Restricts the retrieved cookies to those whose path exactly matches this
* string.
*/
String get path => jsProxy['path'];
set path(String value) => jsProxy['path'] = value;
/**
* Filters the cookies by their Secure property.
*/
bool get secure => jsProxy['secure'];
set secure(bool value) => jsProxy['secure'] = value;
/**
* Filters out session vs. persistent cookies.
*/
bool get session => jsProxy['session'];
set session(bool value) => jsProxy['session'] = value;
/**
* The cookie store to retrieve cookies from. If omitted, the current
* execution context's cookie store will be used.
*/
String get storeId => jsProxy['storeId'];
set storeId(String value) => jsProxy['storeId'] = value;
}
Extends
ChromeObject > CookiesGetAllParams
Constructors
new CookiesGetAllParams({String url, String name, String domain, String path, bool secure, bool session, String storeId}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
CookiesGetAllParams({String url, String name, String domain, String path, bool secure, bool session, String storeId}) {
if (url != null) this.url = url;
if (name != null) this.name = name;
if (domain != null) this.domain = domain;
if (path != null) this.path = path;
if (secure != null) this.secure = secure;
if (session != null) this.session = session;
if (storeId != null) this.storeId = storeId;
}
new CookiesGetAllParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
CookiesGetAllParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
String domain #
Restricts the retrieved cookies to those whose domains match or are subdomains of this one.
String get domain => jsProxy['domain'];
set domain(String value) => jsProxy['domain'] = value;
String name #
Filters the cookies by name.
String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;
String path #
Restricts the retrieved cookies to those whose path exactly matches this string.
String get path => jsProxy['path'];
set path(String value) => jsProxy['path'] = value;
bool secure #
Filters the cookies by their Secure property.
bool get secure => jsProxy['secure'];
set secure(bool value) => jsProxy['secure'] = value;
bool session #
Filters out session vs. persistent cookies.
bool get session => jsProxy['session'];
set session(bool value) => jsProxy['session'] = value;
String storeId #
The cookie store to retrieve cookies from. If omitted, the current execution context's cookie store will be used.
String get storeId => jsProxy['storeId'];
set storeId(String value) => jsProxy['storeId'] = value;
String url #
Restricts the retrieved cookies to those that would match the given URL.
String get url => jsProxy['url'];
set url(String value) => jsProxy['url'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();