HttpResponse<T> constructor

HttpResponse<T>(
  1. T data,
  2. dynamic response
)

Creates a new HttpResponse with the specified data and response.

  • data - The parsed response data of type T
  • response - The raw Dio response containing metadata

Implementation

HttpResponse(this.data, this.response);