Playlist class

A playlist of tracks.

Annotations
  • @JsonSerializable()

Constructors

Playlist({required PlaylistInfo info, required Map<String, Object?> pluginInfo, required List<Track> tracks})
Create a new Playlist.
Playlist.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
info PlaylistInfo
Information about this playlist.
final
pluginInfo Map<String, Object?>
Additional info provided by plugins.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tracks List<Track>
The tracks in this playlist.
final

Methods

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

Operators

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