state property

StateSnapshot<T> state

Current state

Implementation

StateSnapshot<T> get state => _lastEmittedError == null
    ? StateSnapshot(_controller.valueOrNull?.data, null)
    : StateSnapshot(null, _lastEmittedError);