TokenReader class

Support for reading and parsing a "token" for dependency injection.

In AngularDart this is either an OpaqueToken or a Type.

Constructors

TokenReader()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

linkToOpaqueToken(DartType type) TypeLink
Returns type as a TypeLink to the corresponding class definition.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseTokenObject(DartObject object, [ParameterElement? element]) TokenElement
Returns object parsed into a TokenElement.
parseTokenParameter(ParameterElement element) TokenElement
Returns element parsed into a TokenElement.
parseTokenType(ParameterElement element) TypeTokenElement
Returns the type of element as a TokenElement.
toString() String
A string representation of this object.
inherited

Operators

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