GatewayTransportResponse class

Result of a single transport call. statusCode is the HTTP status (200..599 typical); the gateway layer classifies the status into approve / decline / failure.

Constructors

GatewayTransportResponse({required int statusCode, String? body, Map<String, String> headers = const {}})
const

Properties

body → String?
final
hashCode → int
The hash code for this object.
no setterinherited
headers → Map<String, String>
final
isSuccess → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
toString reports only the operational shape. The body and headers stay opaque - the body may carry an encrypted blob or gateway response codes that should not be logged at this layer.
override

Operators

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