InterchangeResponse.fromRawBytes constructor

InterchangeResponse.fromRawBytes({
  1. int statusCode = defaultStatusCode,
  2. Map<String, List<String>>? headersAll,
  3. required List<int> raw,
})

Construct from Raw bytes body

Implementation

InterchangeResponse.fromRawBytes({
  int statusCode = defaultStatusCode,
  Map<String, List<String>>? headersAll,
  required List<int> raw,
}) : this.fromBase64Body(
        statusCode: statusCode,
        headersAll: headersAll,
        base64Body: base64Encode(raw),
      );