toMessageValue method

Map<String, Object?> toMessageValue()

Marker map understood by the encoder (see resolvePendingBodies).

Implementation

Map<String, Object?> toMessageValue() => <String, Object?>{
  kPendingBodyMarker: true,
  'bytes': bytes,
  'size': size,
  'truncated': truncated,
  'limit': limit,
  'capture': capture,
  'contentType': contentType,
  'contentEncoding': contentEncoding,
};