APIResponse<T> constructor

const APIResponse<T>(
  1. bool success,
  2. String message,
  3. int statusCode, {
  4. Map<String, String>? errors,
  5. dynamic body,
  6. T? value,
})

Implementation

const APIResponse(
  this.success,
  this.message,
  this.statusCode, {
  this.errors,
  this.body,
  this.value,
});