stop method

Future<void> stop()

Stops video playback and resets to the beginning.

Implementation

Future<void> stop() async {
  // debugPrint('YPlayerController: Stop requested');
  await _player.stop();
}