UserProfilePhotos.fromJson constructor
Creates a UserProfilePhotos object from JSON object
Implementation
factory UserProfilePhotos.fromJson(Map<String, dynamic> json) {
return UserProfilePhotos(
totalCount: json['total_count'],
photos: List<List<PhotoSize>>.from(
json['photos'].map(
(x) => List<PhotoSize>.from(x.map((x) => PhotoSize.fromJson(x))),
),
),
);
}