seek method
Implementation
void seek(int position) {
final seekPosition = position / 1000.0;
player?.currentTime = seekPosition;
if (!isPlaying) {
pausedAt = seekPosition;
}
}
void seek(int position) {
final seekPosition = position / 1000.0;
player?.currentTime = seekPosition;
if (!isPlaying) {
pausedAt = seekPosition;
}
}