formatEntity property

Map<dynamic, LastPlayedEntity> formatEntity

Used to format a list of LastPlayedEntity into a map.

Implementation

Map<dynamic, LastPlayedEntity> get formatEntity {
  Map<dynamic, LastPlayedEntity> tempMap = {};
  //
  for (var entity in this) {
    tempMap[entity.key] = entity;
  }
  return tempMap;
}