whereType method

Stream<Action> whereType (
  1. String actionType
)

This function takes String actionType param and apply filter on actionType and return Stream

Implementation

Stream<Action> whereType(String actionType) {
  return _dispatcher.where((action) => action.type == actionType);
}