Bloc<Event, State> constructor
Bloc<Event, State> (
- State initialState
Takes a Stream
of Events
as input
and transforms them into a Stream
of States
as output.
Implementation
Bloc(State initialState) : super(initialState);