AmbiguousProvider<T> class

internal: provider that is created in cases of ambiguities

Inheritance

Constructors

AmbiguousProvider({required Type type, required List<AbstractInstanceProvider<T>> providers})

Properties

eager bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
host Type
no setterinherited
lifecycleMethods List<List<MethodCall>?>
getter/setter pairinherited
location String
no setterinherited
providers List<AbstractInstanceProvider<T>>
getter/setter pair
replace bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope String
no setterinherited
type Type
no setterinherited

Methods

addProvider(AbstractInstanceProvider<T> provider) → void
create(Environment environment, [List args = const []]) → T
override
getDependencies(Environment environment) → (List<ParameterResolver>, Set<Type>, int)
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
report() String
override
resolve(ResolveContext context) → void
inherited
toString() String
A string representation of this object.
override

Operators

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