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,
    bool? deprecated,
    bool? allowEmptyValue,
    bool? explode,
    bool? allowReserved}) {
  this.isRequired = isRequired;
  this.isDeprecated = deprecated;
  this.allowEmptyValue = allowEmptyValue;
  this.allowReserved = allowReserved;
  this.explode = explode;
}