seekTo method

Future<void> seekTo(
  1. Duration duration
)

Seeks the player to the specified duration.

Implementation

Future<void> seekTo(Duration duration) async {
  await _controller.seekTo(duration);
}