TypedefMirror class

A TypedefMirror represents a typedef in a Dart language program.

A TypedefMirror represents a typedef in a Dart language program.

Implements

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(TypeMirror other) → bool Inherited
Checks the assignability relationship, denoted by <=> in the language specification. This is the type relationship tested on assignment in checked mode.
isSubtypeOf(TypeMirror other) → bool Inherited
Checks the subtype relationship, denoted by <: in the language specification. This is the type relationship used in is test checks.