DataTypeSet class
A set of data types. Missing data types are interpreted as false
.
class DataTypeSet extends ChromeObject { DataTypeSet({bool appcache, bool cache, bool cookies, bool downloads, bool fileSystems, bool formData, bool history, bool indexedDB, bool localStorage, bool serverBoundCertificates, bool pluginData, bool passwords, bool webSQL}) { if (appcache != null) this.appcache = appcache; if (cache != null) this.cache = cache; if (cookies != null) this.cookies = cookies; if (downloads != null) this.downloads = downloads; if (fileSystems != null) this.fileSystems = fileSystems; if (formData != null) this.formData = formData; if (history != null) this.history = history; if (indexedDB != null) this.indexedDB = indexedDB; if (localStorage != null) this.localStorage = localStorage; if (serverBoundCertificates != null) this.serverBoundCertificates = serverBoundCertificates; if (pluginData != null) this.pluginData = pluginData; if (passwords != null) this.passwords = passwords; if (webSQL != null) this.webSQL = webSQL; } DataTypeSet.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * Websites' appcaches. */ bool get appcache => jsProxy['appcache']; set appcache(bool value) => jsProxy['appcache'] = value; /** * The browser's cache. Note: when removing data, this clears the _entire_ * cache: it is not limited to the range you specify. */ bool get cache => jsProxy['cache']; set cache(bool value) => jsProxy['cache'] = value; /** * The browser's cookies. */ bool get cookies => jsProxy['cookies']; set cookies(bool value) => jsProxy['cookies'] = value; /** * The browser's download list. */ bool get downloads => jsProxy['downloads']; set downloads(bool value) => jsProxy['downloads'] = value; /** * Websites' file systems. */ bool get fileSystems => jsProxy['fileSystems']; set fileSystems(bool value) => jsProxy['fileSystems'] = value; /** * The browser's stored form data. */ bool get formData => jsProxy['formData']; set formData(bool value) => jsProxy['formData'] = value; /** * The browser's history. */ bool get history => jsProxy['history']; set history(bool value) => jsProxy['history'] = value; /** * Websites' IndexedDB data. */ bool get indexedDB => jsProxy['indexedDB']; set indexedDB(bool value) => jsProxy['indexedDB'] = value; /** * Websites' local storage data. */ bool get localStorage => jsProxy['localStorage']; set localStorage(bool value) => jsProxy['localStorage'] = value; /** * Server-bound certificates. */ bool get serverBoundCertificates => jsProxy['serverBoundCertificates']; set serverBoundCertificates(bool value) => jsProxy['serverBoundCertificates'] = value; /** * Plugins' data. */ bool get pluginData => jsProxy['pluginData']; set pluginData(bool value) => jsProxy['pluginData'] = value; /** * Stored passwords. */ bool get passwords => jsProxy['passwords']; set passwords(bool value) => jsProxy['passwords'] = value; /** * Websites' WebSQL data. */ bool get webSQL => jsProxy['webSQL']; set webSQL(bool value) => jsProxy['webSQL'] = value; }
Extends
ChromeObject > DataTypeSet
Constructors
new DataTypeSet({bool appcache, bool cache, bool cookies, bool downloads, bool fileSystems, bool formData, bool history, bool indexedDB, bool localStorage, bool serverBoundCertificates, bool pluginData, bool passwords, bool webSQL}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
DataTypeSet({bool appcache, bool cache, bool cookies, bool downloads, bool fileSystems, bool formData, bool history, bool indexedDB, bool localStorage, bool serverBoundCertificates, bool pluginData, bool passwords, bool webSQL}) { if (appcache != null) this.appcache = appcache; if (cache != null) this.cache = cache; if (cookies != null) this.cookies = cookies; if (downloads != null) this.downloads = downloads; if (fileSystems != null) this.fileSystems = fileSystems; if (formData != null) this.formData = formData; if (history != null) this.history = history; if (indexedDB != null) this.indexedDB = indexedDB; if (localStorage != null) this.localStorage = localStorage; if (serverBoundCertificates != null) this.serverBoundCertificates = serverBoundCertificates; if (pluginData != null) this.pluginData = pluginData; if (passwords != null) this.passwords = passwords; if (webSQL != null) this.webSQL = webSQL; }
new DataTypeSet.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
DataTypeSet.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
bool appcache #
Websites' appcaches.
bool get appcache => jsProxy['appcache'];
set appcache(bool value) => jsProxy['appcache'] = value;
bool cache #
The browser's cache. Note: when removing data, this clears the entire cache: it is not limited to the range you specify.
bool get cache => jsProxy['cache'];
set cache(bool value) => jsProxy['cache'] = value;
bool cookies #
The browser's cookies.
bool get cookies => jsProxy['cookies'];
set cookies(bool value) => jsProxy['cookies'] = value;
bool downloads #
The browser's download list.
bool get downloads => jsProxy['downloads'];
set downloads(bool value) => jsProxy['downloads'] = value;
bool fileSystems #
Websites' file systems.
bool get fileSystems => jsProxy['fileSystems'];
set fileSystems(bool value) => jsProxy['fileSystems'] = value;
bool formData #
The browser's stored form data.
bool get formData => jsProxy['formData'];
set formData(bool value) => jsProxy['formData'] = value;
bool history #
The browser's history.
bool get history => jsProxy['history'];
set history(bool value) => jsProxy['history'] = value;
bool indexedDB #
Websites' IndexedDB data.
bool get indexedDB => jsProxy['indexedDB'];
set indexedDB(bool value) => jsProxy['indexedDB'] = value;
bool localStorage #
Websites' local storage data.
bool get localStorage => jsProxy['localStorage'];
set localStorage(bool value) => jsProxy['localStorage'] = value;
bool passwords #
Stored passwords.
bool get passwords => jsProxy['passwords'];
set passwords(bool value) => jsProxy['passwords'] = value;
bool pluginData #
Plugins' data.
bool get pluginData => jsProxy['pluginData'];
set pluginData(bool value) => jsProxy['pluginData'] = value;
bool serverBoundCertificates #
Server-bound certificates.
bool get serverBoundCertificates => jsProxy['serverBoundCertificates'];
set serverBoundCertificates(bool value) => jsProxy['serverBoundCertificates'] = value;
bool webSQL #
Websites' WebSQL data.
bool get webSQL => jsProxy['webSQL'];
set webSQL(bool value) => jsProxy['webSQL'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();