APIParameter constructor
APIParameter(
- String? name,
- APIParameterLocation? location, {
- String? description,
- APISchemaObject? schema,
- Map<
String, APIMediaType> ? content, - String? style,
- bool? required,
- bool? deprecated,
- bool? allowEmptyValue,
- bool? explode,
- bool? allowReserved,
Implementation
APIParameter(this.name, this.location,
{this.description,
this.schema,
this.content,
this.style,
bool? required,
bool? deprecated,
bool? allowEmptyValue,
bool? explode,
bool? allowReserved}) {
this.isRequired = required!;
this.isDeprecated = deprecated!;
this.allowEmptyValue = allowEmptyValue!;
this.allowReserved = allowReserved!;
this.explode = explode!;
}