JobAlbumArt.fromJson constructor

JobAlbumArt.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory JobAlbumArt.fromJson(Map<String, dynamic> json) {
  return JobAlbumArt(
    artwork: (json['Artwork'] as List?)
        ?.whereNotNull()
        .map((e) => Artwork.fromJson(e as Map<String, dynamic>))
        .toList(),
    mergePolicy: json['MergePolicy'] as String?,
  );
}