Observable<T> class
- Inheritance
- Implemented types
- Available extensions
Constructors
-
Observable.new(T initialValue, {String? name, ReactiveContext? context, EqualityComparer<
T> ? equals}) -
Create an observable value with an
initialValue
and an optionalname
factory
Properties
- context → ReactiveContext
-
no setterinherited
- debugCreationStack → StackTrace?
-
The stack trace when the object is created
finalinherited
-
equals
→ EqualityComparer<
T> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasObservers → bool
-
no setterinherited
- isBeingObserved → bool
-
no setterinherited
- name → String
-
finalinherited
- nonObservableValue → T
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
getter/setter pairoverride-getter
Methods
-
intercept(
Interceptor< T> interceptor) → Dispose -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(
Listener< ChangeNotification< listener, {bool fireImmediately = false}) → DisposeT> > -
override
-
onBecomeObserved(
void fn()) → void Function() -
inherited
-
onBecomeUnobserved(
void fn()) → void Function() -
inherited
-
reportChanged(
) → void -
inherited
-
reportObserved(
) → void -
inherited
-
reportRead(
) → void -
Available on Atom, provided by the AtomSpyReporter extension
-
reportWrite<
T> (T newValue, T oldValue, void setNewValue(), {EqualityComparer< T> ? equals, bool? useDeepEquality}) → void -
Available on Atom, provided by the AtomSpyReporter extension
-
toggle(
) → void -
Available on Observable<
lets you toggle the internal value of ObservableBoolbool> , provided by the ObservableBoolExtension extension -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited