PlaylistTrack class

Json representation of a playlist with a single track

Annotations
  • @JsonSerializable()

Constructors

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

Properties

addedAt DateTime?
The date and time the track was added. Note that some very old playlists may return null in this field.
getter/setter pair
addedBy UserPublic?
The Spotify user who added the track. Note that some very old playlists may return null in this field.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isLocal bool?
Whether this track is a local file or not.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
track Track?
Information about the track
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