seek method

Future<void> seek(
  1. double to
)

Seeks into the content.

This finishes the current video, and enters an idle state.

This method returns a future that completes as soon as the "stop" command has been sent to the platform, not when the player has stopped its content.

Implementation

Future<void> seek(double to) async {
  await _videoPlayerPlatform.seek(to, textureId);
}