Track constructor

Track({
  1. required String id,
  2. required String name,
  3. required int durationMs,
  4. required bool isExplicit,
  5. required bool isPlayable,
  6. required int popularity,
  7. String? previewUrl,
  8. required int discNumber,
  9. required int trackNumber,
  10. required bool isLocal,
  11. required String spotifyUrl,
  12. required List<Artist> artists,
  13. required Album album,
  14. List<String>? availableMarkets,
  15. dynamic externalIds,
  16. 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,
});