operateDeleteMusic method
Implementation
void operateDeleteMusic(MusicInfo musicInfo) {
if (musicState.currentMusicInfo.value == musicInfo) {
musicState.currentMusicInfo.value = null;
}
if (musicInfo.isPlaying.value) {
_stopMusic(musicInfo);
}
_deleteMusic(musicInfo);
}