Dart API Reference
dart:mirrors
TypedefMirror
TypedefMirror
class
A
TypedefMirror
represents a typedef in a Dart language program.
A
TypedefMirror
represents a typedef in a Dart language program.
Implements:
TypeMirror
Constructors
TypedefMirror
( )
Instance Properties
referent
FunctionTypeMirror
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.