Method constructor
Method({
- required String name,
- required TypeDeclaration returnType,
- required List<
Parameter> parameters, - required ApiLocation location,
- bool isRequired = true,
- bool isAsynchronous = false,
- bool isStatic = false,
- int? offset,
- String objcSelector = '',
- String swiftFunction = '',
- TaskQueueType taskQueueType = TaskQueueType.serial,
- List<
String> documentationComments = const <String>[],
Parametric constructor for Method.
Implementation
Method({
required this.name,
required this.returnType,
required this.parameters,
required this.location,
this.isRequired = true,
this.isAsynchronous = false,
this.isStatic = false,
this.offset,
this.objcSelector = '',
this.swiftFunction = '',
this.taskQueueType = TaskQueueType.serial,
this.documentationComments = const <String>[],
});