movingPercent property
Percentage of time spent moving.
Implementation
double get movingPercent {
if (totalDuration.inSeconds == 0) return 0;
return movingDuration.inSeconds / totalDuration.inSeconds * 100;
}
Percentage of time spent moving.
double get movingPercent {
if (totalDuration.inSeconds == 0) return 0;
return movingDuration.inSeconds / totalDuration.inSeconds * 100;
}