AlbumResponse class
- Annotations
-
- @JsonSerializable()
Constructors
-
AlbumResponse({required String id, required String name, required String year, String? type, String? playCount, String? language, String? explicitContent, String? primaryArtistsId, required List<
AlbumArtistResponse> primaryArtists, required List<AlbumArtistResponse> artists, required List<AlbumArtistResponse> featuredArtists, required String songCount, String? releaseDate, List<DownloadLink> ? image, required String url, required List<SongResponse> songs}) - AlbumResponse.fromAlbumRequest(AlbumRequest album)
-
factory
-
AlbumResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
artists
↔ List<
AlbumArtistResponse> -
getter/setter pair
- explicitContent ↔ String?
-
getter/setter pair
-
featuredArtists
↔ List<
AlbumArtistResponse> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
-
image
↔ List<
DownloadLink> ? -
getter/setter pair
- language ↔ String?
-
getter/setter pair
- name ↔ String
-
getter/setter pair
- playCount ↔ String?
-
getter/setter pair
-
primaryArtists
↔ List<
AlbumArtistResponse> -
getter/setter pair
- primaryArtistsId ↔ String?
-
getter/setter pair
- releaseDate ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- songCount ↔ String
-
getter/setter pair
-
songs
↔ List<
SongResponse> -
getter/setter pair
- type ↔ String?
-
getter/setter pair
- url ↔ String
-
getter/setter pair
- year ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited