APIParameter constructor Null safety
- String? name,
- APIParameterLocation? location,
- {String? description,
- APISchemaObject? schema,
- Map<
String, APIMediaType?> ? content, - String? style,
- bool? isRequired,
- bool? deprecated,
- bool? allowEmptyValue,
- bool? explode,
- 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;