movingPercent property

double get movingPercent

Percentage of time spent moving.

Implementation

double get movingPercent {
  if (totalDuration.inSeconds == 0) return 0;
  return movingDuration.inSeconds / totalDuration.inSeconds * 100;
}