parseArtistFeaturedOn static method
Implementation
static PlaylistDetailed parseArtistFeaturedOn(
dynamic item, ArtistBasic artistBasic) {
return PlaylistDetailed(
type: "PLAYLIST",
playlistId:
traverseString(item, ["navigationEndpoint", "browseId"]) ?? '',
name: traverseString(item, ["runs", "text"]) ?? '',
artist: artistBasic,
thumbnails: traverseList(item, ["thumbnails"])
.map((item) => ThumbnailFull.fromMap(item))
.toList(),
);
}