seek method

void seek(
  1. int position
)

Implementation

void seek(int position) {
  player?.currentTime = position / 1000.0;
}