ProgressStatusEvent class final

Represents a progress status event, holding the total byte size of the download and the amount of bytes that have already been processed.

Constructors

ProgressStatusEvent(int totalBytes, int processedBytes)
Creates a new instance of ProgressStatusEvent given the total byte size and the number of already processed bytes.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
processedBytes int
Represents the number of bytes that have been processed.
final
progressPercentage double
Returns the progress percentage of the download as a double.
no setter
progressRatio double
Returns the progress ratio of the download as a double.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalBytes int
Represents the total byte size of the data.
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