Playlist class

Json representation of a playlist

Implemented types
Annotations
  • @JsonSerializable()

Constructors

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

Properties

collaborative bool?
true if the owner allows other users to modify the playlist.
getter/setter pairoverride
description String?
The playlist description. Only returned for modified, verified playlists, otherwise null.
getter/setter pairoverride
externalUrls ExternalUrls?
Known external URLs for this playlist.
getter/setter pairoverride
followers Followers?
Information about the followers of the playlist.
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 playlist.
getter/setter pairoverride
id String?
The Spotify ID for the playlist.
getter/setter pairoverride
images List<Image>?
Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See Working with Playlists.
getter/setter pairoverride
name String?
The name of the playlist.
getter/setter pairoverride
owner User?
The user who owns the playlist
getter/setter pairoverride
public bool?
The playlist's public/private status: true the playlist is public, false the playlist is private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists.
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshotId String?
The version identifier for the current playlist. Can be supplied in other requests to target a specific playlist version
getter/setter pairoverride
tracks Paging<Track>?
Information about the tracks of the playlist.
getter/setter pair
Use Playlist.tracks
getter/setter pairoverride
type String?
The object type: "playlist"
getter/setter pairoverride
uri String?
The Spotify URI for the playlist.
getter/setter pairoverride

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