RemovalOptions class
Options that determine exactly what data will be removed.
class RemovalOptions extends ChromeObject { RemovalOptions({var since, OriginTypesBrowsingData originTypes}) { if (since != null) this.since = since; if (originTypes != null) this.originTypes = originTypes; } RemovalOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * Remove data accumulated on or after this date, represented in milliseconds * since the epoch (accessible via the `getTime` method of the JavaScript * `Date` object). If absent, defaults to 0 (which would remove all browsing * data). */ dynamic get since => jsProxy['since']; set since(var value) => jsProxy['since'] = jsify(value); /** * An object whose properties specify which origin types ought to be cleared. * If this object isn't specified, it defaults to clearing only "unprotected" * origins. Please ensure that you _really_ want to remove application data * before adding 'protectedWeb' or 'extensions'. */ OriginTypesBrowsingData get originTypes => _createOriginTypesBrowsingData(jsProxy['originTypes']); set originTypes(OriginTypesBrowsingData value) => jsProxy['originTypes'] = jsify(value); }
Extends
ChromeObject > RemovalOptions
Constructors
new RemovalOptions({since, OriginTypesBrowsingData originTypes}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
RemovalOptions({var since, OriginTypesBrowsingData originTypes}) { if (since != null) this.since = since; if (originTypes != null) this.originTypes = originTypes; }
new RemovalOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
RemovalOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
OriginTypesBrowsingData originTypes #
An object whose properties specify which origin types ought to be cleared. If this object isn't specified, it defaults to clearing only "unprotected" origins. Please ensure that you really want to remove application data before adding 'protectedWeb' or 'extensions'.
OriginTypesBrowsingData get originTypes => _createOriginTypesBrowsingData(jsProxy['originTypes']);
set originTypes(OriginTypesBrowsingData value) => jsProxy['originTypes'] = jsify(value);
var since #
Remove data accumulated on or after this date, represented in milliseconds
since the epoch (accessible via the getTime
method of the JavaScript
Date
object). If absent, defaults to 0 (which would remove all browsing
data).
dynamic get since => jsProxy['since'];
set since(var value) => jsProxy['since'] = jsify(value);
Methods
String toString() #
Returns a string representation of this object.
String toString() => jsProxy.toString();