Response<T> constructor

const Response<T>({
  1. required Request<T> request,
  2. required Request httpRequest,
  3. required BaseResponse httpResponse,
  4. required String body,
  5. dynamic json,
  6. T? data,
})

Creates a new response.

Implementation

const Response({
  required this.request,
  required this.httpRequest,
  required this.httpResponse,
  required this.body,
  this.json,
  this.data,
});