Dart API Reference
dart:mirrors
MethodMirror
MethodMirror
class
A
MethodMirror
reflects a Dart language function, method, constructor, getter, or setter.
A
MethodMirror
reflects a Dart language function, method, constructor, getter, or setter.
Implements
DeclarationMirror
Constructors
MethodMirror
()
Instance Properties
returnType
TypeMirror
read-only
source
String
read-only
parameters
List
<
ParameterMirror
>
read-only
isStatic
bool
read-only
isAbstract
bool
read-only
isSynthetic
bool
read-only
isRegularMethod
bool
read-only
isOperator
bool
read-only
isGetter
bool
read-only
isSetter
bool
read-only
isConstructor
bool
read-only
constructorName
Symbol
read-only
isConstConstructor
bool
read-only
isGenerativeConstructor
bool
read-only
isRedirectingConstructor
bool
read-only
isFactoryConstructor
bool
read-only
owner
DeclarationMirror
Inherited
read-only
location
SourceLocation
Inherited
read-only
isPrivate
bool
Inherited
read-only
simpleName
Symbol
Inherited
read-only
metadata
List
<
InstanceMirror
>
Inherited
read-only
isTopLevel
bool
Inherited
read-only
qualifiedName
Symbol
Inherited
read-only
Operators
operator ==
(
other
) →
bool
Returns true if this mirror is equal to other.