HTParameterDeclaration constructor

HTParameterDeclaration({
  1. required String id,
  2. HTDeclarationNamespace? closure,
  3. HTSource? source,
  4. HTType? declType,
  5. bool isVariadic = false,
  6. bool isOptional = false,
  7. bool isNamed = false,
  8. bool isInitialization = false,
})

Create a standard HTParameter.

Implementation

HTParameterDeclaration({
  required super.id,
  super.closure,
  super.source,
  super.declType,
  this.isVariadic = false,
  this.isOptional = false,
  this.isNamed = false,
  this.isInitialization = false,
}) : super(isMutable: true);