Bloc<T> constructor
Bloc<T> ({
- T? initialValue,
Implementation
Bloc({T? initialValue}) : _controller = StreamController<T>() {
if (initialValue != null) add(initialValue);
}