DvaModel<S> class

Implemented types

Constructors

DvaModel({String nameSpace, S initialState, Map<String, dynamic> reducers, Map<String, dynamic> effects})

Properties

currentState → S
read-only
effects Map<String, dynamic>
read / write, override
hashCode int
The hash code for this object. [...]
read-only, inherited
initialState ↔ S
read / write, override
nameSpace String
read / write, override
reducers Map<String, dynamic>
read / write, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state Stream<S>
read-only

Methods

debounceEffect(dynamic key, dynamic payload) → void
dispatch(Stream action) → void
dispose() → void
mapPutEffectToReducer(S currentState, PutEffect effect) Stream<S>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
onReducer(DvaReducer<S, PutEffect> reducer) → void
setAllEffectKeys(List<String> keys) → void
setStoreDispatch(Function cb) → void
toString() String
A string representation of this object. [...]
inherited
transform(Stream<DvaEffect> effect) Stream<DvaEffect>

Operators

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