overrideWithBuild method

ProviderOverride<S> overrideWithBuild(
  1. S builder(
    1. Ref<S> ref,
    2. P notifier
    )
)

Creates an override that can access the original notifier.

Implementation

ProviderOverride<S> overrideWithBuild(
  S Function(Ref<S> ref, P notifier) builder,
) {
  return overrideWith((ref) => builder(ref, this));
}