UploadStartedEvent class final

The adapter opened a session and the first chunk is about to be sent.

Inheritance

Constructors

UploadStartedEvent({required String uploadId, required int totalBytes, required int totalChunks, bool resumed = false, DateTime? timestamp})
Creates the event.

Properties

hashCode → int
The hash code for this object.
no setterinherited
resumed → bool
Whether this run continued a previously persisted upload.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → UploadStatus
The status the task is in as a result of this event.
no setteroverride
timestamp → DateTime
When the event was raised.
finalinherited
totalBytes → int
Bytes that will be transferred.
final
totalChunks → int
Number of chunks the file was split into.
final
uploadId → String
The upload this event belongs to.
finalinherited

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