TypeVariableMirror class abstract

A TypeVariableMirror represents a type parameter of a generic type.

Inheritance

Constructors

TypeVariableMirror()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
hasReflectedType bool
Returns true if this mirror reflects dynamic, a non-generic class or typedef, or an instantiated generic class or typedef in the current isolate. Otherwise, returns false.
read-onlyinherited
isOriginalDeclaration bool
Is this the original declaration of this type?
read-onlyinherited
isPrivate bool
Whether this declaration is library private.
read-onlyinherited
isStatic bool
Is the reflectee static?
read-only
isTopLevel bool
Whether this declaration is top-level.
read-onlyinherited
location SourceLocation?
The source location of this Dart language entity, or null if the entity is synthetic.
read-onlyinherited
metadata List<InstanceMirror>
A list of the metadata associated with this declaration.
read-onlyinherited
originalDeclaration TypeMirror
A mirror on the original declaration of this type.
read-onlyinherited
owner DeclarationMirror?
A mirror on the owner of this Dart language entity.
read-onlyinherited
qualifiedName Symbol
The fully-qualified name for this Dart language entity.
read-onlyinherited
reflectedType Type
If hasReflectedType returns true, returns the corresponding Type. Otherwise, an UnsupportedError is thrown.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
simpleName Symbol
The simple name for this Dart language entity.
read-onlyinherited
typeArguments List<TypeMirror>
An immutable list with mirrors for all type arguments for this type.
read-onlyinherited
typeVariables List<TypeVariableMirror>
An immutable list with mirrors for all type variables for this type.
read-onlyinherited
upperBound TypeMirror
A mirror on the type that is the upper bound of this type variable.
read-only

Methods

isAssignableTo(TypeMirror other) bool
Checks the assignability relationship, denoted by <=> in the language specification.
inherited
isSubtypeOf(TypeMirror other) bool
Checks the subtype relationship, denoted by <: in the language specification.
inherited
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
Whether other is a TypeVariableMirror on the same type variable as this mirror.
override