APIParameter.cookie constructor

APIParameter.cookie(
  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.cookie(
  this.name, {
  this.description,
  this.schema,
  this.content,
  this.style,
  bool? isRequired,
  this.deprecated,
  this.allowEmptyValue,
  this.explode,
  this.allowReserved,
}) : _required = isRequired {
  location = APIParameterLocation.cookie;
}