Dart Documentationchrome.cookiesCookiesRemoveParams

CookiesRemoveParams class

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

 /**
  * The URL associated with the cookie. 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 remove.
  */
 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;

 /**
  * The ID of the cookie store to look in for the cookie. If unspecified, the
  * cookie is looked for by default in the current execution context's cookie
  * store.
  */
 String get storeId => jsProxy['storeId'];
 set storeId(String value) => jsProxy['storeId'] = value;
}

Extends

ChromeObject > CookiesRemoveParams

Constructors

new CookiesRemoveParams({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
CookiesRemoveParams({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 CookiesRemoveParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

The name of the cookie to remove.

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

String storeId #

The ID of the cookie store to look in for the cookie. If unspecified, the cookie is looked for by default in the current execution context's cookie store.

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

String url #

The URL associated with the cookie. 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();