Observable<T> class Null safety

Inheritance
Implemented types
Available Extensions

Constructors

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

Properties

context ReactiveContext
read-only, inherited
equals EqualityComparer<T>?
final
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
value ↔ T
read / write, override-getter

Methods

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

Operators

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