PlaylistModel class
PlaylistModel that contains all Playlist
Information.
- Inheritance
-
- Object
- MediaModel
- PlaylistModel
Constructors
- PlaylistModel(Map _info)
Properties
- data → String?
-
Return playlist data
no setter
- dateAdded → int?
-
Return playlist dateAdded
no setter
- dateModified → int?
-
Return playlist dateModified
no setter
- getMap → Map
-
Return a map with all
keys
andvalues
from specific playlist.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Return the media id.
finalinherited
- numOfSongs → int
-
Return playlist numOfSongs
no setter
- playlist → String
-
Return playlist playlist
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? id, String? playlist, String? data, int? dateAdded, int? dateModified, int? numOfSongs}) → PlaylistModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited