Uint8List 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.

Source

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

Source

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