downloadedFraction property
double
get
downloadedFraction
Relative progress (as a number between 0.0 and 1.0).
When this number reaches 1.0, all changes have been received from the
sync service. Actually applying these changes happens before the
SyncStatus.downloadProgress flag is cleared though, so progress can stay
at 1.0 for a short while before completing.
Implementation
double get downloadedFraction {
return totalOperations == 0 ? 0.0 : downloadedOperations / totalOperations;
}