VendureResponse<T> class
A mutation result that carries the HTTP response headers alongside the
decoded data — the Vendure session token rides a response header
(vendure-auth-token), not the body, so the auth repository needs the
headers to capture it (ported from the source SDK's
AuthBaseOperations.extractResponseHeaders).
data is nullable: on this seam the body is irrelevant (the token rides the header), so a mutation whose expectedDataType key is absent in the response resolves to null data rather than throwing — matching the source SDK's header-only extraction.
Constructors
-
VendureResponse(T? data, Map<
String, String> headers) -
const
Properties
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