Playlist constructor

const Playlist({
  1. required List<Media> medias,
  2. PlaylistMode playlistMode = PlaylistMode.single,
})

Implementation

const Playlist(
    {required this.medias, this.playlistMode = PlaylistMode.single});