pause method

void pause()

Timer pause function.

Implementation

void pause() {
  if (state.value != CustomTimerState.counting) return;
  _pause();
}