MethodDescriptor<T, V> class
- Inheritance
-
- Object
- AbstractDescriptor
- AbstractPropertyDescriptor<
T> - MethodDescriptor
Constructors
-
MethodDescriptor({required String name, List annotations = const [], required List<
ParameterDescriptor> parameters, bool isAsync = false, bool isStatic = false, bool isNullable = false, Function? invoker, AbstractType<dynamic, AbstractType< ? type})dynamic, AbstractType> >
Properties
- annotations → List
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoker → Function?
-
final
- isAsync → bool
-
final
- isNullable → bool
-
final
- isStatic → bool
-
final
- name → String
-
finalinherited
-
parameters
→ List<
ParameterDescriptor> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
↔ AbstractType<
dynamic, AbstractType< dynamic, AbstractType> > -
getter/setter pairinherited
- typeDescriptor ↔ TypeDescriptor
-
getter/setter pairinherited
Methods
-
findAnnotation<
A> () → A? -
inherited
-
hasAnnotation<
A> () → bool -
inherited
-
inferType(
Type type, bool isNullable) → void -
inherited
-
isField(
) → bool -
inherited
-
isMethod(
) → bool -
override
-
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