AWSFile.fromStream constructor
AWSFile.fromStream(})
Creates an AWSFile from a stream of bytes, optionally specifying a file
name
and contentType
.
Implementation
factory AWSFile.fromStream(
Stream<List<int>> stream, {
String? name,
String? contentType,
required int size,
}) = AWSFilePlatform.fromStream;