DownloadProgress class
Constructors
- DownloadProgress(int receivedBytes, int totalBytes, {required FilePath path})
Properties
- completed → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- path → FilePath
-
final
- progress → double
-
no setter
- receivedBytes → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalBytes → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPrettyMB(
int bytes, {int decimalPoint = 2}) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
completedEvent(
FilePath path) → DownloadProgress