ProviderOverride class

An object used by ProviderContainer to override the behavior of a provider for a part of the application.

Do not implement/extend this class.

See also:

  • ProviderContainer, which uses this object.
  • overrideWithValue, which creates a ProviderOverride.
Implemented types
Implementers
Annotations
  • @internal

Constructors

ProviderOverride({required ProviderBase<Object?> origin, required ProviderBase<Object?> override})
Override a provider

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited