FunctionTypeMirror class

A FunctionTypeMirror represents the type of a function in the Dart language.

A FunctionTypeMirror represents the type of a function in the Dart language.

Implements

Constructors

FunctionTypeMirror()

Instance Properties

returnType TypeMirror
read-only
parameters List<ParameterMirror>
read-only
callMethod MethodMirror
read-only
reflectedType Type Inherited
read-only
declarations Map<Symbol,DeclarationMirror> Inherited
read-only
typeVariables List<TypeVariableMirror> Inherited
read-only
originalDeclaration TypeMirror Inherited
read-only
mixin ClassMirror Inherited
read-only
metadata List<InstanceMirror> Inherited
read-only
location SourceLocation Inherited
read-only
isPrivate bool Inherited
read-only
isAbstract bool Inherited
read-only
hasReflectedType bool Inherited
read-only
superinterfaces List<ClassMirror> Inherited
read-only
qualifiedName Symbol Inherited
read-only
staticMembers Map<Symbol,MethodMirror> Inherited
read-only
isEnum bool Inherited
read-only
simpleName Symbol Inherited
read-only
superclass ClassMirror Inherited
read-only
isTopLevel bool Inherited
read-only
owner DeclarationMirror Inherited
read-only
typeArguments List<TypeMirror> Inherited
read-only
instanceMembers Map<Symbol,MethodMirror> Inherited
read-only
isOriginalDeclaration bool Inherited
read-only

Instance Methods

isSubclassOf(ClassMirror other) → bool Inherited
Returns whether the class denoted by the receiver is a subclass of the class denoted by the argument.
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.
getField(Symbol fieldName) → InstanceMirror Inherited
Invokes a getter and returns a mirror on the result. The getter can be the implicit getter for a field or a user-defined getter method.
setField(Symbol fieldName, Object value) → InstanceMirror Inherited
Invokes a setter and returns a mirror on the result. The setter may be either the implicit setter for a non-final field or a user-defined setter method.
invoke(Symbol memberName, List positionalArguments, [Map<Symbol> namedArguments]) → InstanceMirror Inherited
Invokes the named function and returns a mirror on the result.
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.
newInstance(Symbol constructorName, List positionalArguments, [Map<Symbol> namedArguments]) → InstanceMirror Inherited
Invokes the named constructor and returns a mirror on the result.