Playlist({List<Audio>? audios, int startIndex = 0}) { if (audios != null) { this.audios.addAll(audios); } this.startIndex = startIndex; }