OnEntityFormatter extension
A on_audio_room extension to help the package.
- on
Methods
-
toFavoritesEntity(
) → FavoritesEntity - Used to parse a Map into a FavoritesEntity.
-
toLastPlayedEntity(
int timePlayed, {int? lastTimePlayed}) → LastPlayedEntity - Used to parse a Map into a LastPlayedEntity.
-
toMostPlayedEntity(
int timePlayed, {int? lastTimePlayed, int? playCount}) → MostPlayedEntity - Used to parse a Map into a MostPlayedEntity.
-
toSongEntity(
) → SongEntity - Used to parse a Map into a SongEntity.