Combines a list of Epics into one.
Rather than having one "God" Epic, it's recommended to break Epics down into smaller, more manageable units. Then, when creating the EpicMiddleware for your redux.dart store, simply combine your [Epics using this class.
Example:
var epic = new CombinedEpic<AppState, AppAction>(
[new Epic1(), new Epic2()]);
- Inheritance
- Object
- Epic<State, Action>
- CombinedEpic
Constructors
- CombinedEpic(List<Epic<State, Action>> epics)
Properties
- epics → List<Epic<State, Action>>
-
read-only
- hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
map(
Stream<Action> actions, EpicStore<State, Action> store) → Stream<Action> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited