elapsedTime property Null safety

num elapsedTime

Implementation

num get elapsedTime => totalTime - restTime;
void elapsedTime=(num value)

Implementation

set elapsedTime(num value) {
  restTime = totalTime - value;
}