pause method

Future<void> pause()

Pauses the content.

This method returns a future that completes as soon as the "pause" command has been sent to the platform, not when playback has paused.

Implementation

Future<void> pause() async {
  await _videoPlayerPlatform.pause(textureId);
}