APIParameter constructor

APIParameter(
  1. String? name,
  2. APIParameterLocation? location, {
  3. String? description,
  4. APISchemaObject? schema,
  5. Map<String, APIMediaType?>? content,
  6. String? style,
  7. bool? isRequired,
  8. bool? deprecated,
  9. bool? allowEmptyValue,
  10. bool? explode,
  11. bool? allowReserved,
})

Implementation

APIParameter(
  this.name,
  this.location, {
  this.description,
  this.schema,
  this.content,
  this.style,
  bool? isRequired,
  this.deprecated,
  this.allowEmptyValue,
  this.explode,
  this.allowReserved,
}) : _required = isRequired;