Album.fromJson constructor

Album.fromJson(
  1. Map json
)

Implementation

Album.fromJson(Map json)
    : id = json['id'],
      count = json['count'],
      name = json['name'],
      coverPhoto = json['cover_photo']['source'];