ApiResponse<T> constructor

ApiResponse<T>({
  1. T? data,
  2. dynamic raw,
  3. required ResponseStatus status,
  4. ApiException? error,
  5. int? statusCode,
  6. Map<String, dynamic>? headers,
  7. String? message,
  8. Duration? duration,
})

Implementation

ApiResponse({
  this.data,
  this.raw,
  required this.status,
  this.error,
  this.statusCode,
  this.headers,
  this.message,
  this.duration,
});