InterchangeResponse class

Interchange event response

Annotations
  • @JsonSerializable(createFactory: false)

Constructors

InterchangeResponse.fromBase64Body({int statusCode = defaultStatusCode, Map<String, List<String>>? headersAll, required String base64Body})
Construct from Base64 body
InterchangeResponse.fromJsonBody({int statusCode = defaultStatusCode, Map<String, List<String>>? headersAll, required dynamic json})
Construct from JSON response body
InterchangeResponse.fromRawBytes({int statusCode = defaultStatusCode, Map<String, List<String>>? headersAll, required List<int> raw})
Construct from Raw bytes body
InterchangeResponse.fromStringBody({int statusCode = defaultStatusCode, Map<String, List<String>>? headersAll, required String string})
Construct from String data

Properties

base64Body String
Response body
final
hashCode int
The hash code for this object.
no setterinherited
headersAll Map<String, List<String>>
Response header
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
Response status code
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON object
toString() String
A string representation of this object.
inherited

Operators

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

Constants

defaultStatusCode → const int