Dart Documentationchrome.typesTypesClearParams

TypesClearParams class

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

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

Extends

ChromeObject > TypesClearParams

Constructors

new TypesClearParams({String scope}) #

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

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

new TypesClearParams.fromProxy(JsObject jsProxy) #

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

docs inherited from ChromeObject
TypesClearParams.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<ul><li>regular: setting for the regular profile (which is inherited by the incognito profile if not overridden elsewhere),</li><li>regular_only: setting for the regular profile only (not inherited by the incognito profile),</li><li>incognito_persistent: setting for the incognito profile that survives browser restarts (overrides regular preferences),</li><li>[incognito_session_only]: setting for the incognito profile that can only be set during an incognito session and is deleted when the incognito session ends (overrides regular and incognito_persistent preferences).</li></ul> enum of regular, regular_only, incognito_persistent, 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();