Track constructor

Track({
  1. int? trackId,
  2. required String name,
  3. required String audioFile,
  4. String? imageFile,
  5. String? isrc,
  6. double? rating,
  7. String? title,
  8. String? artist,
  9. String? album,
  10. int? year,
  11. SelectionDuration? duration,
  12. bool? publication,
  13. bool? reTag,
  14. bool? rePeak,
  15. bool? invalid,
  16. bool? cancel,
  17. DateTime? cancelDate,
  18. bool? newest,
  19. TrackStatus? status,
  20. String? oldAudioFile,
  21. DateTime? createDate,
  22. DateTime? changeDate,
  23. int? copyRightOwnerId,
  24. ApplicationUserCopyRightOwner? copyRightOwner,
  25. String? rawTags,
  26. String? fileHash,
  27. List<CompanyTypeTrack>? companyTypeTracks = const [],
  28. List<GenreTrack>? genreTracks = const [],
  29. List<TrackSelection>? trackSelections = const [],
  30. List<TrackPlayList>? trackPlayLists = const [],
})

Returns a new Track instance.

Implementation

Track({
  this.trackId,
  required this.name,
  required this.audioFile,
  this.imageFile,
  this.isrc,
  this.rating,
  this.title,
  this.artist,
  this.album,
  this.year,
  this.duration,
  this.publication,
  this.reTag,
  this.rePeak,
  this.invalid,
  this.cancel,
  this.cancelDate,
  this.newest,
  this.status,
  this.oldAudioFile,
  this.createDate,
  this.changeDate,
  this.copyRightOwnerId,
  this.copyRightOwner,
  this.rawTags,
  this.fileHash,
  this.companyTypeTracks = const [],
  this.genreTracks = const [],
  this.trackSelections = const [],
  this.trackPlayLists = const [],
});