ReaderRender constructor
ReaderRender({})
Constructs a ReaderRender with the given parameters.
The contentType parameter is required and specifies the MIME type
of the content. The reader parameter is also required and provides
the stream of bytes to be rendered. The contentLength and headers
parameters are optional.
Implementation
ReaderRender({
required this.contentType,
this.contentLength,
required this.reader,
this.headers,
});