Reducer<S, E, A extends ReducerAction> class

Constructors

Reducer(ReducerTuple<S, E, A> run(S state, A action))

Properties

hashCode int
The hash code for this object.
no setterinherited
run ReducerTuple<S, E, A> Function(S state, A action)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debug({String? name}) Reducer<S, E, A>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pullback<PS, PE, PA extends ReducerAction>({required S toChildState(PS), required PS fromChildState(S), required A? toChildAction(PA), required PA fromChildAction(A), required E toChildEnvironment(PE)}) Reducer<PS, PE, PA>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

combine<COMBS, COMBE, COMBA extends ReducerAction>(Reducer<COMBS, COMBE, COMBA> reducerA, Reducer<COMBS, COMBE, COMBA> reducerB) Reducer<COMBS, COMBE, COMBA>