getMap property

Map get getMap

A helper to get the MostPlayedEntity as a Map.

Implementation

Map get getMap {
  Map tempKeyMap = {
    "_data": lastData,
    "_display_name": displayName,
    "_id": id,
    "album": album,
    "album_id": albumId,
    "artist": artist,
    "artist_id": artistId,
    "date_added": dateAdded,
    "duration": duration,
    "title": title,
    "artwork": artworkAsBytes,
  };
  return tempKeyMap;
}