bloc library


Bloc<Event, State>
Takes a Stream of Events as input and transforms them into a Stream of States as output.
Handles events from all Blocs which are delegated by the BlocSupervisor.
Oversees all Blocs and delegates responsibilities to the BlocDelegate.
Transition<Event, State>
Occurs when an Event is dispatched after mapEventToState has been called but before the Bloc's State has been updated. A Transition consists of the currentState, the event which was dispatched, and the nextState.