Dart Documentationchrome.contentSettingsContentSettingsClearParams

ContentSettingsClearParams class

class ContentSettingsClearParams extends ChromeObject {
 ContentSettingsClearParams({String scope}) {
   if (scope != null) this.scope = scope;
 }
 ContentSettingsClearParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Where to clear the setting (default: regular). One of<br>[regular]: setting
  * for regular profile (which is inherited by the incognito profile if not
  * overridden elsewhere),<br>[incognito_session_only]: setting for incognito
  * profile that can only be set during an incognito session and is deleted
  * when the incognito session ends (overrides regular settings).
  * enum of `regular`, `incognito_session_only`
  */
 String get scope => jsProxy['scope'];
 set scope(String value) => jsProxy['scope'] = value;
}

Extends

ChromeObject > ContentSettingsClearParams

Constructors

new ContentSettingsClearParams({String scope}) #

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

docs inherited from ChromeObject
ContentSettingsClearParams({String scope}) {
 if (scope != null) this.scope = scope;
}

new ContentSettingsClearParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String scope #

Where to clear the setting (default: regular). One of<br>regular: setting for regular profile (which is inherited by the incognito profile if not overridden elsewhere),<br>[incognito_session_only]: setting for incognito profile that can only be set during an incognito session and is deleted when the incognito session ends (overrides regular settings). enum of regular, incognito_session_only

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