Dart API Reference
dart:mirrors
TypeVariableMirror
TypeVariableMirror
class
A
TypeVariableMirror
represents a type parameter of a generic type.
A
TypeVariableMirror
represents a type parameter of a generic type.
Extends:
TypeMirror
Object
Constructors
TypeVariableMirror
( )
Instance Properties
upperBound
TypeMirror
read-only
isStatic
bool
read-only
reflectedType
Type
Inherited
read-only
originalDeclaration
TypeMirror
Inherited
read-only
typeVariables
List
<
TypeVariableMirror
>
Inherited
read-only
simpleName
Symbol
Inherited
read-only
metadata
List
<
InstanceMirror
>
Inherited
read-only
isTopLevel
bool
Inherited
read-only
owner
DeclarationMirror
Inherited
read-only
location
SourceLocation
Inherited
read-only
isPrivate
bool
Inherited
read-only
hasReflectedType
bool
Inherited
read-only
typeArguments
List
<
TypeMirror
>
Inherited
read-only
isOriginalDeclaration
bool
Inherited
read-only
qualifiedName
Symbol
Inherited
read-only
Instance Methods
isAssignableTo
Inherited
(
TypeMirror
other
) →
bool
Checks the assignability relationship, denoted by <=> in the language specification. This is the type relationship tested on assignment in checked mode.
isSubtypeOf
Inherited
(
TypeMirror
other
) →
bool
Checks the subtype relationship, denoted by <: in the language specification. This is the type relationship used in is test checks.
Operators
operator ==
(
other
) →
bool
Returns true if this mirror is equal to other. Otherwise returns false.