originProvider property

  1. @visibleForOverriding
ProviderBase<Object?> get originProvider

The provider that will be refreshed when calling ProviderContainer.refresh and that will be overridden when passed to ProviderScope.

Defaults to this.

Implementation

@visibleForOverriding
// ignore: avoid_returning_this
ProviderBase<Object?> get originProvider => this;