cancelNextVideoTimer method

void cancelNextVideoTimer()

Cancel next video timer. Used in playlist. Do not use manually.

Implementation

void cancelNextVideoTimer() {
  _nextVideoTime = null;
  _nextVideoTimeStreamController.add(_nextVideoTime);
  _nextVideoTimer?.cancel();
  _nextVideoTimer = null;
}