StreamFileUpload class

Replayable file source for streamed backend uploads.

Constructors

StreamFileUpload({required String filename, required int length, required Future<Stream<List<int>>> streamFactory()})
Creates a streamed upload description.
const

Properties

filename → String
Filename sent to the remote service.
final
hashCode → int
The hash code for this object.
no setterinherited
length → int
Number of bytes emitted by streamFactory.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streamFactory → Future<Stream<List<int>>> Function()
Creates a fresh stream for each upload attempt.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited