subtract method

void subtract(
  1. Duration duration
)

Function to decrease the remaining time.

Implementation

void subtract(Duration duration) {
  jumpTo(_remaining.value.duration - duration);
}