getProviderOverride method

  1. @visibleForOverriding
  2. @override
ProviderBase<NotifierT> getProviderOverride(
  1. ProviderBase<NotifierT> provider
)
inherited

Obtains the new behavior for a provider associated to the overridden family.

Implementation

@visibleForOverriding
@override
ProviderBase<State> getProviderOverride(ProviderBase<State> provider) {
  return call(provider.argument as Arg);
}