FutureReducerDefaults class

A class holding the defaults for FutureReducer.

Constructors

FutureReducerDefaults()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

failedReducer ↔ State Function<State, Action>(State, FutureFailedAction<Action>)
A field defining the default failed reducer to be used. It defaults to FutureReducerDefaults.futureFailedReducer.
getter/setter pair
pendingReducer ↔ State Function<State, Action>(State, FuturePendingAction<Action>)
A field defining the default pending reducer to be used. It defaults to FutureReducerDefaults.futurePendingReducer.
getter/setter pair

Static Methods

futureFailedReducer<State, Action>(State prevState, FutureFailedAction<Action> action) → State
A default reducer to handle FutureFailedAction, which can only be used with a State extending FutureState.
futurePendingReducer<State, Action>(State prevState, FuturePendingAction<Action> action) → State
A default reducer to handle FuturePendingAction, which can only be used with a State extending FutureState.