MethodDescriptor class

Constructors

MethodDescriptor.new({required String name, required Type returnType, required List<ParameterDescriptor> parameters, bool isAsync = false, bool isStatic = false, List annotations = const [], Function? invoker})

Properties

annotations List
final
hashCode int
The hash code for this object.
no setterinherited
invoker Function?
final
isAsync bool
final
isStatic bool
final
name String
final
parameters List<ParameterDescriptor>
final
returnType Type
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeDescriptor TypeDescriptor
getter/setter pair

Methods

findAnnotation<T>() → T?
hasAnnotation<T>() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited