state property

AsyncValue<State> get state

Obtains the state currently exposed by this provider.

Mutating this property will notify the provider listeners.

Cannot be called while a provider is creating, unless the setter was called first.

Will throw if the provider threw during creation.

Implementation

AsyncValue<State> get state;
set state (AsyncValue<State> newState)

Implementation

set state(AsyncValue<State> newState);