HttpResponse<T> class

Wrapper class that combines response data with the raw Dio response.

This is useful when you need access to both the parsed response data and the original HTTP response metadata (headers, status code, etc.).

Constructors

HttpResponse.new(T data, dynamic response)
Creates a new HttpResponse with the specified data and response.

Properties

data → T
final
hashCode int
The hash code for this object.
no setterinherited
response → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited