withCurrentValue property
Stream<State>
withCurrentValue
Implementation
Stream<State> get withCurrentValue {
final controller = StreamController<State>(sync: true);
controller.add(_value);
controller
.addStream(_stateController.stream)
.whenComplete(controller.close);
return controller.stream;
}