Method constructor

Method({
  1. required String name,
  2. required TypeDeclaration returnType,
  3. required List<Parameter> parameters,
  4. bool isAsynchronous = false,
  5. int? offset,
  6. String objcSelector = '',
  7. String swiftFunction = '',
  8. TaskQueueType taskQueueType = TaskQueueType.serial,
  9. List<String> documentationComments = const <String>[],
})

Parametric constructor for Method.

Implementation

Method({
  required this.name,
  required this.returnType,
  required this.parameters,
  this.isAsynchronous = false,
  this.offset,
  this.objcSelector = '',
  this.swiftFunction = '',
  this.taskQueueType = TaskQueueType.serial,
  this.documentationComments = const <String>[],
});