notifier property

Refreshable<StateController<ValueT>> get notifier

Obtains the StateController of this provider.

The value obtained may change if the provider is refreshed (such as using Ref.watch or Ref.refresh).

Implementation

Refreshable<StateController<ValueT>> get notifier =>
    ProviderElementProxy<StateController<ValueT>, ValueT>(this, (element) {
      return (element as _StateProviderElement<ValueT>)._controllerNotifier;
    });