pause method

void pause()

Implementation

void pause() {
  if (!_isFinished && !_isPaused && !_isIdle) {
    _isCurrentTimePending = true;
  } else if (_isIdle) {
    _rewind();
    _isIdle = false;
  }
  _startTime = null;
  _isPaused = true;
}