BlocStreamAction<State> typedef
BlocStreamAction<State> =
FutureOr<void> Function(State currentState, void add(State))
Implementation
typedef BlocStreamAction<State> = FutureOr<void> Function(
State currentState,
void Function(State) add,
);