dispatch function

Store dispatch ({@required String actionType, dynamic payload })

This is a helper function of store().dispatch(Action action).

Implementation

Store dispatch({@required String actionType, dynamic payload}) {
  return _store.dispatch(Action(type: actionType, payload: payload));
}