handleAudioCurrentSong method

void handleAudioCurrentSong(
  1. Map data
)

Implementation

void handleAudioCurrentSong(Map<dynamic, dynamic> data) {
  // the current song shows up with audioName and not a real playlist path
  state.currentAudioPath = audioPlaylistItemsByName[data['audioName']]?.playlistItemLocation;
  emit('audio');
}