setUrl method
Implementation
void setUrl(String? url) {
currentUrl = url;
stop();
recreateNode();
if (isPlaying) {
resume();
}
}
void setUrl(String? url) {
currentUrl = url;
stop();
recreateNode();
if (isPlaying) {
resume();
}
}