APIOperation constructor

APIOperation(
  1. String? id,
  2. Map<String, APIResponse>? responses, {
  3. List<String>? tags,
  4. String? summary,
  5. String? description,
  6. List<APIParameter>? parameters,
  7. List<APISecurityRequirement>? security,
  8. APIRequestBody? requestBody,
  9. Map<String, APICallback>? callbacks,
  10. bool? deprecated,
})

Implementation

APIOperation(this.id, this.responses,
    {this.tags,
    this.summary,
    this.description,
    this.parameters,
    this.security,
    this.requestBody,
    this.callbacks,
    bool? deprecated}) {
  isDeprecated = deprecated!;
}