Bloc<Event, State> constructor
Bloc<Event, State> (
- State state
Implementation
Bloc(this.state) {
_stateSC.stream.listen((state) {
this.state = state;
});
_emit(state);
}