PlaylistInfo class

Inheritance

Properties

creationDate String
Returns a String with a number in milliseconds (ms) that represents the date which this playlist was created.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
The data model id
no setterinherited
memberIds List<String>
Returns a list with id's of SongInfo which are songs that appears in this playlist. You can retrieve SongInfo objects that appears in this playlist with getSongsFromPlayList method. The list is empty if there is no songs in this playlist.
no setter
name String
The playlist name
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addSong({required SongInfo song}) Future<void>
This method appends a song into playlist and returns a PlaylistInfo updated.
moveSong({required int from, required int to}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeSong({required SongInfo song}) Future<void>
This method removes a specified song from this playlist.
toString() String
A string representation of this object.
inherited

Operators

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