recreateNode method

void recreateNode()

Implementation

void recreateNode() {
  if (currentUrl == null) {
    return;
  }
  player = AudioElement(currentUrl);
  player!.loop = shouldLoop();
  player!.volume = currentVolume;
}