stream property

  1. @override
ByteStream stream

The stream from which the response body data can be read.

This should always be a single-subscription stream.

Implementation

@override
ByteStream get stream => ByteStream(Stream.fromIterable([bytes]));