APIParameter.query constructor

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

Implementation

APIParameter.query(this.name,
    {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;
  this.location = APIParameterLocation.query;
}