ProviderSource class abstract

Provider interface passed to view compiler backends to generate code to instantiate a provider and consume.

This allows us to hide the hierarchical nature of provider lookups and the actual resolution from view compiler backend.

Implementers

Constructors

ProviderSource(CompileTokenMetadata? token)

Properties

hasDynamicDependencies bool
Whether a dynamic injectorGet(...) is required to resolve this provider.
no setter
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?
final

Methods

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