Observable<T> class

Inheritance
  • Object
  • Atom
  • Observable
Implemented types

Constructors

Observable(T initialValue, {String name, ReactiveContext context, EqualityComparator<T> equals})
Create an observable value with an initialValue and an optional name [...]
factory

Properties

equals EqualityComparator<T>
final
value ↔ T
read / write, override-getter
context ReactiveContext
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
hasObservers → bool
read-only, inherited
name → String
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

intercept(Interceptor<T> interceptor) Dispose
override
observe(Listener<ChangeNotification<T>> listener, {bool fireImmediately}) Dispose
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onBecomeObserved(Function fn) → void Function()
inherited
onBecomeUnobserved(Function fn) → void Function()
inherited
reportChanged() → void
inherited
reportObserved() → void
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited