sourceState property

AsyncResult<InT> get sourceState

The current state of CustomProviderListenable.source.

Implementation

AsyncResult<InT> get sourceState {
  if (_sourceState case final sourceState?) return sourceState;

  throw StateError('Cannot call sourceState from a constructor.');
}