Album class

Json representation of an album

Inheritance
Annotations
  • @JsonSerializable()

Constructors

Album()
Album.fromJson(Map<String, dynamic> json)
factory

Properties

albumType AlbumType?
The type of the album: one of "album", "single", or "compilation".
getter/setter pairinherited
artists List<ArtistSimple>?
The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
getter/setter pairinherited
availableMarkets List<Market>?
The markets in which the album is available: ISO 3166-1 alpha-2 country codes. Note that an album is considered available in a market when at least 1 of its tracks is available in that market.
getter/setter pairinherited
copyrights List<Copyright>?
The copyright statements of the album.
getter/setter pair
externalIds ExternalIds?
Known external IDs for the album.
getter/setter pair
externalUrls ExternalUrls?
Known external URLs for this album.
getter/setter pairinherited
genres List<String>?
A list of the genres the artist is associated with. For example: "Prog Rock", "Post-Grunge".
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
href String?
A link to the Web API endpoint providing full details of the album.
getter/setter pairinherited
id String?
The Spotify ID for the album.
getter/setter pairinherited
images List<Image>?
The cover art for the album in various sizes, widest first.
getter/setter pairinherited
label String?
The label for the album.
getter/setter pair
name String?
The name of the album. In case of an album takedown, the value may be an empty string.
getter/setter pairinherited
popularity int?
The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular. The artist's popularity is calculated from the popularity of all the artist's tracks.
getter/setter pair
releaseDate String?
The date the album was first released, for example "1981-12-15". Depending on the precision, it might be shown as "1981" or "1981-12".
getter/setter pairinherited
releaseDatePrecision DatePrecision?
The precision with which release_date value is known: "year", "month", or "day".
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tracks Iterable<TrackSimple>?
The tracks of this album.
getter/setter pairinherited
type String?
The object type: "album"
getter/setter pairinherited
uri String?
The Spotify URI for the album.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited