Constructor constructor

Constructor({
  1. required String name,
  2. required List<Parameter> parameters,
  3. int? offset,
  4. String swiftFunction = '',
  5. List<String> documentationComments = const <String>[],
})

Parametric constructor for Constructor.

Implementation

Constructor({
  required super.name,
  required super.parameters,
  super.offset,
  super.swiftFunction = '',
  super.documentationComments = const <String>[],
}) : super(
        returnType: const TypeDeclaration.voidDeclaration(),
        location: ApiLocation.host,
      );