BooleanDelta class
class BooleanDelta extends ChromeObject {
BooleanDelta({bool previous, bool current}) {
if (previous != null) this.previous = previous;
if (current != null) this.current = current;
}
BooleanDelta.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
bool get previous => jsProxy['previous'];
set previous(bool value) => jsProxy['previous'] = value;
bool get current => jsProxy['current'];
set current(bool value) => jsProxy['current'] = value;
}
Extends
ChromeObject > BooleanDelta
Constructors
new BooleanDelta({bool previous, bool current}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
BooleanDelta({bool previous, bool current}) {
if (previous != null) this.previous = previous;
if (current != null) this.current = current;
}
new BooleanDelta.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
BooleanDelta.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
bool current #
bool get current => jsProxy['current'];
set current(bool value) => jsProxy['current'] = value;
bool previous #
bool get previous => jsProxy['previous'];
set previous(bool value) => jsProxy['previous'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();