SongInfo constructor

SongInfo({
  1. required int id,
  2. required String title,
  3. required String album,
  4. int? albumId,
  5. required String artist,
  6. int? artistId,
  7. required String fileUri,
  8. int? duration,
  9. int? bookmark,
  10. required String absolutePath,
  11. required bool isMusic,
  12. required bool isPodcast,
  13. required bool isRingtone,
  14. required bool isAlarm,
  15. required bool isNotification,
  16. int? fileSize,
  17. int? year,
})

Implementation

SongInfo({
  required this.id,
  required this.title,
  required this.album,
  this.albumId,
  required this.artist,
  this.artistId,
  required this.fileUri,
  this.duration,
  this.bookmark,
  required this.absolutePath,
  required this.isMusic,
  required this.isPodcast,
  required this.isRingtone,
  required this.isAlarm,
  required this.isNotification,
  this.fileSize,
  this.year,
});