ViewModel<T, F> class
abstract
Base ViewModel class to hold and manage the stream state
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastState
→ UiState<
T, F> -
Returns the last emitted value by the source stream,
otherwise returns
UiState.idle()no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
uiState$
→ Stream<
UiState< T, F> > -
no setter
Methods
-
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateState(
UiState< T, F> newState) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited