UpChunk class Null safety


attempts int
read / write
chunkSize int
read / write
delayBeforeAttempt int
read / write
endPoint String?
read / write
endPointResolver Future<String>?
read / write
file File?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, String>
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
successfulChunkUploadCodes List<int>
HTTP response codes implying the PUT method has been successful
temporaryErrorCodes List<int>
HTTP response codes implying a chunk may be retried


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
pause() → dynamic
It pauses the upload, the _chunk currently being uploaded will finish first before pausing the next _chunk
restart() → dynamic
Restarts the upload after if the upload failed and came to a complete stop
resume() → dynamic
It resumes the upload for the next _chunk
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]

Static Methods

createUpload(UpChunkOptions options) UpChunk