ResumableUploadOptions class

Specifies options for resumable uploads.

Inheritance

Constructors

ResumableUploadOptions({int numberOfAttempts: 3, int chunkSize: 1024 * 1024, Function backoffFunction })

Properties

backoffFunction → Function
Function for determining the core.Duration to wait before making the next attempt. See ExponentialBackoff for an example.
final
chunkSize → int
Preferred size (in bytes) of a uploaded chunk. Must be a multiple of 256 KB. [...]
final
numberOfAttempts → int
Maximum number of upload attempts per chunk.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Properties

ExponentialBackoff → Function
final