AlphaXApiResponse<T> class final

A typed response that retains the underlying AlphaX response metadata.

Generated methods may return this small wrapper when callers need both a decoded value and status/headers/protocol facts. It is not a second HTTP response hierarchy.

Constructors

AlphaXApiResponse({required T data, required AlphaXResponse response})
Creates a typed response wrapper.
const

Properties

completionMetrics Future<AlphaXRequestMetrics>
Final metrics future.
no setter
data → T
Decoded response value.
final
hashCode int
The hash code for this object.
no setterinherited
headers AlphaXHeaders
Response headers.
no setter
metrics AlphaXRequestMetrics
Headers-time metrics.
no setter
protocol AlphaXProtocol
Best-known negotiated protocol.
no setter
redirects List<AlphaXRedirectInfo>
Redirects observed while resolving the response.
no setter
response AlphaXResponse
Original AlphaX response and its transport metadata.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
HTTP status code.
no setter

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