DownloadProgress class

Data class representing download progress information

Constructors

DownloadProgress.new({required String url, required double progress, required int bytesDownloaded})
Creates a new instance of DownloadProgress
const
DownloadProgress.fromMap(Map map)
Creates a DownloadProgress instance from a Map
factory

Properties

bytesDownloaded int
The number of bytes downloaded so far
final
hashCode int
The hash code for this object.
no setterinherited
progress double
The progress of the download as a value between 0.0 and 1.0
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
The URL of the video being downloaded
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