progress property
double
get
progress
The progress of the sync as a value between 0.0 and 1.0.
Implementation
double get progress => total > 0 ? completed / total : 0.0;
The progress of the sync as a value between 0.0 and 1.0.
double get progress => total > 0 ? completed / total : 0.0;