ArtistDetailed.fromMap constructor

ArtistDetailed.fromMap(
  1. Map<String, dynamic> map
)

Implementation

ArtistDetailed.fromMap(Map<String, dynamic> map)
    : artistId = map['artistId'] as String,
      name = map['name'] as String,
      type = map['type'] as String,
      thumbnails = (map['thumbnails'] as List)
          .map((item) => ThumbnailFull.fromMap(item))
          .toList();