LiveData<T> class

Live Data Structure

Implementers
Available Extensions

Constructors

LiveData(T initValue, {String name, StreamController<T> streamController, LifeCycleObserver lifeCycleObserver})
LiveData.fromStream(Stream stream, {T initValue, String name})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
initialValue → T
final
lifeCycleObserver LifeCycleObserver
read / write
name String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stream Stream<T>
read-only
stream$$ Stream<T>
read-only
streamController StreamController<T>
read / write
value ↔ T
read / write

Methods

bind(LifeCycleObserver lifeCycleObserver) LiveData<T>
dispose() → void
mutate(void setter(T)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
stream$(Symbol _) Stream<T>
subscribe(void onData(T event), {Function onError, void onDone(), bool cancelOnError, Symbol id = #__}) StreamSubscription<T>
toString() String
A string representation of this object. [...]
inherited
transform(T setter(T)) → void

Operators

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