finish method

void finish()

Implementation

void finish() {
  if (_isIdle) return;
  currentTime = _playbackRate > 0 ? _totalDuration : 0;
  _startTime = _totalDuration - currentTime!;
  _isCurrentTimePending = false;
}