PlaylistDownloadMapper

class PlaylistDownloadMapper(playlistMapper: PlaylistMapper)

Functions to map models from other layers and / or packages into a PlaylistDownload.

Constructors

Link copied to clipboard
constructor(playlistMapper: PlaylistMapper)

Functions

Link copied to clipboard
fun map(populatedPlaylist: PopulatedPlaylist, mediaDownloadEntity: List<MediaDownloadEntity>): PlaylistDownload

Maps from a PopulatedPlaylist and a list of MediaDownloadEntity.