restTime property Null safety

num restTime

Implementation

num get restTime => ratio * totalTime;
void restTime=(num value)

Implementation

set restTime(num value) {
  ratio = value / totalTime;
}