whereTypes method

Stream<Action> whereTypes (List<String> actionTypes)

This function takes List actionTypes param and apply filter on actionTypes and return Stream

Implementation

Stream<Action> whereTypes(List<String> actionTypes) {
  return _dispatcher.where((action) =>
      actionTypes.indexWhere((type) => type == action.type) != -1);
}