BlocStreamAction<State> typedef Null safety

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

Implementation

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