TrackModel constructor
TrackModel({
- required String id,
- required String name,
- required SimplifiedAlbum album,
- required List<
SimplifiedArtist> artists, - required List<
Market> availableMarkets, - required int discNumber,
- required Duration duration,
- required bool explicit,
- required bool isPlayable,
- required int popularity,
- required String? previewUrl,
- required int trackNumber,
Implementation
TrackModel(
{required this.id,
required this.name,
required this.album,
required this.artists,
required this.availableMarkets,
required this.discNumber,
required this.duration,
required this.explicit,
required this.isPlayable,
required this.popularity,
required this.previewUrl,
required this.trackNumber});