DownloadInfo class
A model class is download info
- maxLength download max bytes length
- currentLength download current bytes length
- status download status . you can watch DownloadStatus
- planTime download plan time /s
- path download file path
- percent download percent 0-100
- id download id
- speed download speed kb/s
Constructors
- DownloadInfo.new({int? maxLength, String? path, double? planTime, int? currentLength, double? percent, int? id, DownloadStatus? status, double? speed})
- DownloadInfo.formMap(dynamic map)
-
factory
Properties
- currentLength → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
final
- maxLength → int?
-
final
- path → String?
-
final
- percent → double?
-
final
- planTime → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double?
-
final
- status → DownloadStatus?
-
final
Methods
-
getSpeedString(
) → String -
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