Observable class

Implementers

Constructors

Observable(String? key, dynamic value, {Scope? scope, OnChangeCallback? listener, Getter? getter, Setter? setter, Formatter? formatter, bool lazyEvaluation = false})

Properties

bindings List<Binding>?
getter/setter pair
defaultValue → dynamic
no setter
formatter Formatter?
getter/setter pair
getter Getter?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isEval bool
getter/setter pair
key String?
final
lazyEvaluation bool
final
listeners List<OnChangeCallback>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
final
setter Setter?
getter/setter pair
signature String?
getter/setter pair
sources List<Observable>?
getter/setter pair
twoway ↔ dynamic
getter/setter pair
value → dynamic
no setter

Methods

dispose() → dynamic
get() → dynamic
getVariables() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → dynamic
onObservableChange(Observable? observable) → dynamic
registerListener(OnChangeCallback callback) → dynamic
registerSource(Observable source) → dynamic
removeListener(OnChangeCallback callback) → dynamic
removeSource(Observable source) → dynamic
set(dynamic value, {bool notify = true, Observable? setter}) → dynamic
to(dynamic value) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

doEvaluation(dynamic expression, {Map<String?, dynamic>? variables, Scope? scope}) → dynamic
getEvalSignature(String? value) String?
isEvalSignature(String? value) bool
parentId(Scope scope, String id) String
replaceReferences(Observable observable, Scope? scope, String value) String