whereType method

Stream<Action> whereType (String actionType)

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

Implementation

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