DownloadProgress class
Progress snapshot of FinchHttp.download.
Constructors
- DownloadProgress({required int received, int? total, bool isDone = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDone → bool
-
True on the final event, when the file is completely saved.
final
- percent → double?
-
Progress from 0 to 100, or
nullif the total size is unknown.no setter - received → int
-
Bytes downloaded so far.
final
- remaining → int?
-
Bytes left to download, or
nullif the total size is unknown.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- total → int?
-
Total bytes, or
nullif the server did not report the size.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