SongFull.fromMap constructor
Implementation
SongFull.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']),
duration = map['duration'] as int,
thumbnails = (map['thumbnails'] as List)
.map((item) => ThumbnailFull.fromMap(item))
.toList(),
formats = map['formats'] as List<dynamic>,
adaptiveFormats = map['adaptiveFormats'] as List<dynamic>;