bodyBytes property

Uint8List get bodyBytes

The bytes comprising the body of the request.

This is converted to and from body using encoding.

This list should only be set, not be modified in place.

Implementation

Uint8List get bodyBytes => _bodyBytes;
set bodyBytes (List<int> value)

Implementation

set bodyBytes(List<int> value) {
  _checkFinalized();
  _bodyBytes = toUint8List(value);
}