getProviderOverride method

  1. @visibleForOverriding
  2. @override
ProviderBase<AsyncValue<R>> getProviderOverride(
  1. ProviderBase<AsyncValue<R>> 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);
}