DynamicProviderSource class

Source for injectable values resolved by dynamic lookup (injectorGet).

Inheritance

Constructors

DynamicProviderSource(CompileTokenMetadata? token, CompileElement _element, ProviderResolver? _resolver, ProviderSource? _source, {required bool isOptional})

Properties

hasDynamicDependencies bool
Whether a dynamic injectorGet(...) is required to resolve this provider.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token CompileTokenMetadata?
finalinherited

Methods

build() Expression
Returns a reference to this provider instance.
override
buildChangeDetectorRef() Expression?
Returns a reference to this provider's ChangeDetectorRef, if necessary.
inherited
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