Track constructor
Track({
- int? trackId,
- required String name,
- required String audioFile,
- String? imageFile,
- String? isrc,
- double? rating,
- String? title,
- String? artist,
- String? album,
- int? year,
- SelectionDuration? duration,
- bool? publication,
- bool? reTag,
- bool? rePeak,
- bool? invalid,
- bool? cancel,
- DateTime? cancelDate,
- bool? newest,
- TrackStatus? status,
- String? oldAudioFile,
- DateTime? createDate,
- DateTime? changeDate,
- int? copyRightOwnerId,
- ApplicationUserCopyRightOwner? copyRightOwner,
- String? rawTags,
- String? fileHash,
- List<
CompanyTypeTrack> ? companyTypeTracks = const [], - List<
GenreTrack> ? genreTracks = const [], - List<
TrackSelection> ? trackSelections = const [], - 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 [],
});