DownloadProgress class
Constructors
- DownloadProgress({required String modelId, required int downloadedBytes, required int totalBytes, required int percentage, required double speedMBps, required DownloadStatus status})
-
DownloadProgress.fromMap(Map<
String, dynamic> map) -
factory
Properties
- downloadedBytes → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- modelId → String
-
final
- percentage → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speedMBps → double
-
final
- status → DownloadStatus
-
final
- totalBytes → int
-
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