BaseLogic<BaseState> class

BaseLogic

Mixed in types
Implementers

Constructors

BaseLogic()

Properties

channel Channel
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispatch(dynamic event) → void
dispose() → void
getState<S>() → S
getStateStream<S>() BehaviorSubject<S>
initState<S>(S initialValue) → void
onEvent<T>(dynamic handler(T event)) → void
onState<S>(dynamic handler(S state)) → void
Used to attach a handler whenever a state update for S occurs. [...]
setState<S>(S state) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onInit() Future<void>
Called after all components are registered This is the right place to dispatch any initial events
inherited
onRegister() → void
Called when the component is registered This is the right place to setup any listeners
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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