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;
}
}