commonMain.com.adamratzman.spotify.utils.ExternalUrls.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-kotlin-jvm Show documentation
Show all versions of spotify-api-kotlin-jvm Show documentation
A Kotlin wrapper for the Spotify Web API.
/* Spotify Web API, Kotlin Wrapper; MIT License, 2017-2021; Original author: Adam Ratzman */
package com.adamratzman.spotify.utils
import com.adamratzman.spotify.models.ExternalUrl
internal fun getExternalUrls(externalUrlsString: Map) = externalUrlsString.map { ExternalUrl(it.key, it.value) }