MethodDescriptor constructor

MethodDescriptor({
  1. required String name,
  2. required Type returnType,
  3. required List<ParameterDescriptor> parameters,
  4. bool isAsync = false,
  5. bool isStatic = false,
  6. List annotations = const [],
  7. Function? invoker,
})

Implementation

MethodDescriptor({
  required this.name,
  required this.returnType,
  required this.parameters,
  this.isAsync = false,
  this.isStatic = false,
  this.annotations = const [],
  this.invoker,
});