Album constructor

Album({
  1. required String id,
  2. required String name,
  3. required String albumType,
  4. List<String>? availableMarkets,
  5. required List<Artist> artists,
  6. required String releaseDate,
  7. required String releaseDatePrecision,
  8. required int totalTracks,
  9. required String spotifyUrl,
  10. String? href,
  11. String? type,
  12. String? uri,
  13. required List<String> images,
})

Implementation

Album({
  required this.id,
  required this.name,
  required this.albumType,
  this.availableMarkets,
  required this.artists,
  required this.releaseDate,
  required this.releaseDatePrecision,
  required this.totalTracks,
  required this.spotifyUrl,
  this.href,
  this.type,
  this.uri,
  required this.images,
});