Playlist constructor

Playlist({
  1. required String id,
  2. required String title,
  3. required String subtitle,
  4. required String description,
  5. required String permaURL,
  6. required String image,
  7. required int totalSongs,
  8. required List<Song> songs,
  9. required int followers,
  10. List<Artist>? artist,
})

Implementation

Playlist({
  required this.id,
  required this.title,
  required this.subtitle,
  required this.description,
  required this.permaURL,
  required this.image,
  required this.totalSongs,
  required this.songs,
  required this.followers,
  this.artist,
});