IndexedTypeName class final
A type that an indexed file names, such as ClosePages in the pattern
ClosePages(:final pages), or router.ClosePages in the type test
answer is router.ClosePages<L>.
Constructors
- IndexedTypeName(String name, {String? prefix, String? enclosingDeclaration, int offset = 0})
-
Creates the index of the type
name.const
Properties
- enclosingDeclaration → String?
-
The name of the top-level declaration the type is named in, or
nulloutside any.final - hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the type as written, without its type arguments.
final
- offset → int
-
The offset of the type in the file.
final
- prefix → String?
-
The import prefix before the name, such as
router, if any.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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