bodyBytes property

Future<Uint8List> get bodyBytes

Retrieve the request body as raw bytes.

The body is cached after the first read, so subsequent calls return the same content.

Implementation

Future<Uint8List> get bodyBytes => request.bytes;