estRemainingDuration property
Duration
get
estRemainingDuration
The estimated remaining duration of the download.
It may or may not be accurate.
It is not recommended to display this value directly to your user. Instead, prefer using language such as 'about 𝑥 minutes remaining'.
Implementation
Duration get estRemainingDuration =>
estTotalDuration - elapsedDuration < Duration.zero
? Duration.zero
: estTotalDuration - elapsedDuration;