Dart Documentationchrome.declarativeWebRequestRemoveRequestCookie

RemoveRequestCookie class

Removes one or more cookies of request. Note that it is preferred to use the Cookies API because this is computationally less expensive.

class RemoveRequestCookie extends ChromeObject {
 RemoveRequestCookie({RequestCookie filter}) {
   if (filter != null) this.filter = filter;
 }
 RemoveRequestCookie.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Filter for cookies that will be removed. All empty entries are ignored.
  */
 RequestCookie get filter => _createRequestCookie(jsProxy['filter']);
 set filter(RequestCookie value) => jsProxy['filter'] = jsify(value);
}

Extends

ChromeObject > RemoveRequestCookie

Constructors

new RemoveRequestCookie({RequestCookie filter}) #

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

docs inherited from ChromeObject
RemoveRequestCookie({RequestCookie filter}) {
 if (filter != null) this.filter = filter;
}

new RemoveRequestCookie.fromProxy(JsObject jsProxy) #

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

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

Properties

RequestCookie filter #

Filter for cookies that will be removed. All empty entries are ignored.

RequestCookie get filter => _createRequestCookie(jsProxy['filter']);
set filter(RequestCookie value) => jsProxy['filter'] = jsify(value);

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

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();