ViewModel<State, Event> class abstract base

Constructors

ViewModel(Result<State, Exception> state)

Properties

event Stream<Event>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → State
no setter
stream Stream<Result<State, Exception>>
no setter

Methods

add(Event event) → void
dispose() Future<void>
emit(Result<State, Exception> state) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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