Playlist constructor

Playlist({
  1. int? playListId,
  2. required String name,
  3. String? imageFile,
  4. required TimeOfDay? timeOfDay,
  5. String? duration,
  6. double? rating,
  7. bool? download,
  8. DateTime? createDate,
  9. DateTime? changeDate,
  10. TicketApplicationUser? applicationUser,
  11. List<CompanyTypePlaylist>? companyTypePlaylists = const [],
  12. List<GenrePlaylist>? genrePlaylists = const [],
  13. List<TrackPlayList>? trackPlayLists = const [],
  14. List<PlaylistFeed>? playlistFeeds = const [],
  15. PlaylistArchivePlaylist? archivePlaylist,
})

Returns a new Playlist instance.

Implementation

Playlist({
  this.playListId,
  required this.name,
  this.imageFile,
  required this.timeOfDay,
  this.duration,
  this.rating,
  this.download,
  this.createDate,
  this.changeDate,
  this.applicationUser,
  this.companyTypePlaylists = const [],
  this.genrePlaylists = const [],
  this.trackPlayLists = const [],
  this.playlistFeeds = const [],
  this.archivePlaylist,
});