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