parseArtistTopVideo static method
Implementation
static VideoDetailed parseArtistTopVideo(
dynamic item, ArtistBasic artistBasic) {
return VideoDetailed(
type: "VIDEO",
videoId: traverseString(item, ["videoId"]) ?? '',
name: traverseString(item, ["runs", "text"]) ?? '',
artist: artistBasic,
duration: null,
thumbnails: traverseList(item, ["thumbnails"])
.map((item) => ThumbnailFull.fromMap(item))
.toList(),
);
}