seekTo method
Implementation
void seekTo(double position) {
isPlaying = true;
if (currentUrl.isEmpty) {
return;
}
if (player == null) {
recreateNode();
}
player?.play();
player?.currentTime = position;
}
void seekTo(double position) {
isPlaying = true;
if (currentUrl.isEmpty) {
return;
}
if (player == null) {
recreateNode();
}
player?.play();
player?.currentTime = position;
}