state property
AutoDisposeStateNotifierStateProvider<Value>
state
A provider that exposes the state of a StateNotifier.
It is created by StateNotifierProvider
Implementation
AutoDisposeStateNotifierStateProvider<Value> get state {
_state ??= AutoDisposeStateNotifierStateProvider<Value>._(this);
// ignore: cast_nullable_to_non_nullable, confirmed to be non-null. This avoids one operation
return _state as AutoDisposeStateNotifierStateProvider<Value>;
}