ApiResponse<T> constructor

ApiResponse<T>(
  1. String name, {
  2. Object? def,
  3. String? description,
})

Creates an instance of ApiBodyField.

name - The name of the body field. def - Optional default value for the body field. description - Optional description of the body field. isRequired - Indicates whether the body field is required.

Implementation

ApiResponse(
  this.name, {
  this.def,
  this.description,
});