pause method

Future<void> pause()

Pauses the video.

Implementation

Future<void> pause() async {
  value = value.copyWith(isPlaying: false);
  await _applyPlayPause();
}