UseFactoryProviderElement class

A statically parsed Provider that describes a function invocation.

Inheritance

Constructors

UseFactoryProviderElement(TokenElement e, TypeLink? providerType, Uri useFactory, {required DependencyInvocation<ExecutableElement> dependencies})
const

Properties

dependencies DependencyInvocation<ExecutableElement>
Arguments that are dependencies to the factory.
final
hashCode int
The hash code for this object.
no setteroverride
isMulti bool
Whether this represents a multi-binding.
no setterinherited
providerType TypeLink?
The T type of Provider<T>.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token TokenElement
Canonical URL of the source location and element name being referenced.
finalinherited
useFactory Uri
A reference to the static function to invoke.
final

Methods

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

Operators

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