Track constructor
Track({
- required String id,
- required String name,
- required int durationMs,
- required bool isExplicit,
- required bool isPlayable,
- required int popularity,
- String? previewUrl,
- required int discNumber,
- required int trackNumber,
- required bool isLocal,
- required String spotifyUrl,
- required List<
Artist> artists, - required Album album,
- List<
String> ? availableMarkets, - dynamic externalIds,
- required List<
String> images,
Implementation
Track({
required this.id,
required this.name,
required this.durationMs,
required this.isExplicit,
required this.isPlayable,
required this.popularity,
this.previewUrl,
required this.discNumber,
required this.trackNumber,
required this.isLocal,
required this.spotifyUrl,
required this.artists,
required this.album,
this.availableMarkets,
this.externalIds,
required this.images,
});