dispatch method

dynamic dispatch(
  1. dynamic action
)
inherited

Runs the action through all provided Middleware, then applies an action to the state using the given Reducer. Please note: Middleware can intercept actions, and can modify actions or stop them from passing through to the reducer.

Implementation

dynamic dispatch(dynamic action) {
  return _dispatchers[0](action);
}