Dart Documentationchrome.cookiesCookiesGetParams

CookiesGetParams class

class CookiesGetParams extends ChromeObject {
 CookiesGetParams({String url, String name, String storeId}) {
   if (url != null) this.url = url;
   if (name != null) this.name = name;
   if (storeId != null) this.storeId = storeId;
 }
 CookiesGetParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The URL with which the cookie to retrieve is associated. This argument may
  * be a full URL, in which case any data following the URL path (e.g. the
  * query string) is simply ignored. If host permissions for this URL are not
  * specified in the manifest file, the API call will fail.
  */
 String get url => jsProxy['url'];
 set url(String value) => jsProxy['url'] = value;

 /**
  * The name of the cookie to retrieve.
  */
 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;

 /**
  * The ID of the cookie store in which to look for the cookie. By default, the
  * current execution context's cookie store will be used.
  */
 String get storeId => jsProxy['storeId'];
 set storeId(String value) => jsProxy['storeId'] = value;
}

Extends

ChromeObject > CookiesGetParams

Constructors

new CookiesGetParams({String url, String name, String storeId}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
CookiesGetParams({String url, String name, String storeId}) {
 if (url != null) this.url = url;
 if (name != null) this.name = name;
 if (storeId != null) this.storeId = storeId;
}

new CookiesGetParams.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
CookiesGetParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

The name of the cookie to retrieve.

String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;

String storeId #

The ID of the cookie store in which to look for the cookie. By default, the current execution context's cookie store will be used.

String get storeId => jsProxy['storeId'];
set storeId(String value) => jsProxy['storeId'] = value;

String url #

The URL with which the cookie to retrieve is associated. This argument may be a full URL, in which case any data following the URL path (e.g. the query string) is simply ignored. If host permissions for this URL are not specified in the manifest file, the API call will fail.

String get url => jsProxy['url'];
set url(String value) => jsProxy['url'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();