checkIfLastSong method
Implementation
bool checkIfLastSong(PlayerState playerState) {
final currentIndex = playerState.playlist.index;
final playlistLastIndex = playerState.playlist.medias.length - 1;
final playListComplete = currentIndex == playlistLastIndex;
return playListComplete;
}