pause method

dynamic pause()

Implementation

pause() {
  if (_state != PageTimerState.start && _state != PageTimerState.resume) {
    return;
  }

  _state = PageTimerState.pause;
  _duration = Duration(milliseconds: _duration.inMilliseconds + _computeMilliseconds());
}