OpaqueTokenElement class

A statically parsed OpaqueToken used as an identifier for injection.

Implemented types

Constructors

OpaqueTokenElement(String identifier, {required TypeLink classUrl, TypeLink? typeUrl = TypeLink.$object, required bool isMultiToken})
const

Properties

classUrl → TypeLink
What the type of the class of the token is.
final
hashCode → int
The hash code for this object.
no setteroverride
identifier → String
Canonical name of an OpaqueToken.
final
isMultiToken → bool
Whether this represents a MultiToken class.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typeUrl → TypeLink?
What the type argument of the token is.
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 o) → bool
The equality operator.
override