ExpressionProviderSource class

A provider source for arbitrary expressions.

This is used to provide simple literal values and locally available expressions.

Inheritance

Constructors

ExpressionProviderSource(CompileTokenMetadata? token, Expression _value, {Expression? changeDetectorRef})

Properties

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