add method

void add(
  1. Duration duration
)

Implementation

void add(Duration duration) {
  _durationLeft += duration;
  if (isDone) _onDone();
}