currentState property

Future<State<T>> get currentState

Implementation

Future<State<T>> get currentState async => StateObject(initValue: initValue)
  ..change(await _valueController.stream.last);