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.
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.
TypesClearParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
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
String toString() #
Returns a string representation of this object.
String toString() => jsProxy.toString();