resumeDefaultPlaylist method
Resume Default Playlist
Rebuilds the current list and index from storage or falls back to the original default list. Executes a gentle fade.
Implementation
Future<void> resumeDefaultPlaylist() async {
final saved = _storage.getPlaylist();
final index = _storage.getIndex();
_currentPlaylist = saved ?? List.from(_defaultPlaylist);
_index = index ?? 0;
_isUsingDefaultPlaylist = true;
await withFade(
() async => play(_currentPlaylist[_index]),
);
}