UseClassProviderElement class

A statically parsed Provider that describes a new class instance.

Inheritance

Constructors

UseClassProviderElement(TokenElement e, TypeLink? providerType, TypeLink useClass, {required DependencyInvocation<ConstructorElement> dependencies})
const

Properties

dependencies → DependencyInvocation<ConstructorElement>
Arguments that are dependencies to the class.
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
useClass → TypeLink
A reference to the class type to create.
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