QueueSummary class

Aggregated metrics and status for the entire upload queue.

Constructors

QueueSummary({int totalTasks = 0, int activeTasks = 0, int enqueuedTasks = 0, int pausedTasks = 0, int completedTasks = 0, int failedTasks = 0, int cancelledTasks = 0, int totalBytes = 0, int uploadedBytes = 0, double aggregateSpeed = 0.0, bool isConnected = true})
const

Properties

activeTasks → int
Count of tasks currently uploading data.
final
aggregateSpeed → double
Combined aggregate upload speed in bytes per second.
final
cancelledTasks → int
Count of tasks cancelled by the user.
final
completedTasks → int
Count of tasks that have finished uploading successfully.
final
enqueuedTasks → int
Count of tasks waiting to be processed.
final
failedTasks → int
Count of tasks that failed and are awaiting retry or gave up.
final
formattedSpeed → String
Human-readable aggregated upload speed.
no setter
formattedTotalSize → String
Human-readable total queue size.
no setter
formattedUploadedSize → String
Human-readable total uploaded size.
no setter
hasFailed → bool
Whether there are any failed tasks.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasPaused → bool
Whether there are any paused tasks.
no setter
isConnected → bool
Whether network connectivity is currently available.
final
isIdle → bool
Whether there are no active or pending tasks.
no setter
isUploading → bool
Whether any task is actively uploading right now.
no setter
overallProgress → double
Aggregate progress across all tasks (0.0 to 1.0).
no setter
overallProgressPercent → int
Aggregate percentage (0 - 100).
no setter
pausedTasks → int
Count of tasks that are paused.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalActiveAndPending → int
Total number of active and pending tasks in the queue.
no setter
totalBytes → int
Sum of all file sizes in the queue in bytes.
final
totalTasks → int
Total count of all tasks known to the queue.
final
uploadedBytes → int
Total confirmed bytes uploaded across all tasks.
final

Methods

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

Operators

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