SongDetailed.fromMap constructor
Implementation
SongDetailed.fromMap(Map<String, dynamic> map)
: type = map['type'] as String,
videoId = map['videoId'] as String,
name = map['name'] as String,
artist = ArtistBasic.fromMap(map['artist']),
album = map['album'] != null ? AlbumBasic.fromMap(map['album']) : null,
duration = map['duration'] as int?,
thumbnails = (map['thumbnails'] as List)
.map((item) => ThumbnailFull.fromMap(item))
.toList();