seekTo method

Future<void> seekTo(
  1. double timeInSecond
)

Implementation

Future<void> seekTo(double timeInSecond) {
  value = value.copyWith(currentTime: timeInSecond);
  return webViewController
      .runJavaScript('player.currentTime($timeInSecond);');
}