FunctionMirror class

reflects functions declared in a Dart program.

Inheritance
  • Object
  • Mirror
  • FunctionMirror

Constructors

FunctionMirror({String name, FunctionCall $call, dynamic returnType, List<DeclarationMirror> positionalParameters, Map<String, DeclarationMirror> namedParameters, List<Annotation> annotations })
const

Properties

$call FunctionCall
Used only for constructors. It creates new instances with the map of parameters passed
final
namedParameters → Map<String, DeclarationMirror>
parameters of the function
final
parameters → List<DeclarationMirror>
read-only
positionalParameters → List<DeclarationMirror>
positional parameters of the function
final
returnType → dynamic
return type of the function
final
annotations → List<Annotation>
annotations of the element
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
name → String
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

call([List positionalParams, Map<String, dynamic> namedParams ]) → dynamic
Used only for constructors. It creates new instances with the map of parameters passed
toString() → String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited