HttpResponse<T> constructor
- T data,
- dynamic response
Creates a new HttpResponse with the specified data
and response
.
data
- The parsed response data of typeT
response
- The raw Dio response containing metadata
Implementation
HttpResponse(this.data, this.response);