progress property
double
get
progress
Implementation
double get progress {
if (totalBytes == null || totalBytes == 0) return 0.0;
return downloadedBytes / totalBytes!;
}
double get progress {
if (totalBytes == null || totalBytes == 0) return 0.0;
return downloadedBytes / totalBytes!;
}