Dart
dart:mirrors
MethodMirror
source property
source
description
source
property
Null safety
String
?
source
The source code for the reflectee, if available. Otherwise null.
Implementation
String? get source;
Dart
dart:mirrors
MethodMirror
source property
MethodMirror class
Constructors
MethodMirror
Properties
constructorName
hashCode
isAbstract
isConstConstructor
isConstructor
isExtensionMember
isFactoryConstructor
isGenerativeConstructor
isGetter
isOperator
isPrivate
isRedirectingConstructor
isRegularMethod
isSetter
isStatic
isSynthetic
isTopLevel
location
metadata
owner
parameters
qualifiedName
returnType
runtimeType
simpleName
source
Methods
noSuchMethod
toString
Operators
operator ==