Bloc<S> constructor
Bloc<S> (
- S state
Implementation
Bloc(this.state)
: _controller = StreamController<S>.broadcast(),
_initialState = state {
if (S == dynamic) {
throw Exception('Please provide a type for Bloc');
}
}