pause method

Future<void> pause({
  1. bool notify = true,
})

pause the current video

notify if is true and the events is not null we notifiy the event

Implementation

Future<void> pause({bool notify = true}) async {
  await _videoPlayerController?.pause();
  playerStatus.status.value = PlayerStatus.paused;
}