FetchData.fromStream constructor
Use the stream
as the source of the FetchData
to send.
The mimeType
defaults to application/octet-stream
Implementation
FetchData.fromStream(Stream<List<int>> stream,
{String mimeType = 'application/octet-stream'})
: _stream = stream,
_type = _FetchDataType.stream,
_mimeType = mimeType;