Dart Documentationchrome.browsingDataOriginTypesBrowsingData

OriginTypesBrowsingData class

class OriginTypesBrowsingData extends ChromeObject {
 OriginTypesBrowsingData({bool unprotectedWeb, bool protectedWeb, bool extension}) {
   if (unprotectedWeb != null) this.unprotectedWeb = unprotectedWeb;
   if (protectedWeb != null) this.protectedWeb = protectedWeb;
   if (extension != null) this.extension = extension;
 }
 OriginTypesBrowsingData.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Normal websites.
  */
 bool get unprotectedWeb => jsProxy['unprotectedWeb'];
 set unprotectedWeb(bool value) => jsProxy['unprotectedWeb'] = value;

 /**
  * Websites that have been installed as hosted applications (be careful!).
  */
 bool get protectedWeb => jsProxy['protectedWeb'];
 set protectedWeb(bool value) => jsProxy['protectedWeb'] = value;

 /**
  * Extensions and packaged applications a user has installed (be _really_
  * careful!).
  */
 bool get extension => jsProxy['extension'];
 set extension(bool value) => jsProxy['extension'] = value;
}

Extends

ChromeObject > OriginTypesBrowsingData

Constructors

new OriginTypesBrowsingData({bool unprotectedWeb, bool protectedWeb, bool extension}) #

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

docs inherited from ChromeObject
OriginTypesBrowsingData({bool unprotectedWeb, bool protectedWeb, bool extension}) {
 if (unprotectedWeb != null) this.unprotectedWeb = unprotectedWeb;
 if (protectedWeb != null) this.protectedWeb = protectedWeb;
 if (extension != null) this.extension = extension;
}

new OriginTypesBrowsingData.fromProxy(JsObject jsProxy) #

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

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

Properties

bool extension #

Extensions and packaged applications a user has installed (be really careful!).

bool get extension => jsProxy['extension'];
set extension(bool value) => jsProxy['extension'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

bool protectedWeb #

Websites that have been installed as hosted applications (be careful!).

bool get protectedWeb => jsProxy['protectedWeb'];
set protectedWeb(bool value) => jsProxy['protectedWeb'] = value;

bool unprotectedWeb #

Normal websites.

bool get unprotectedWeb => jsProxy['unprotectedWeb'];
set unprotectedWeb(bool value) => jsProxy['unprotectedWeb'] = 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();