fromJson static method

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

Creates a object from a json

Implementation

static UserProfilePhotos fromJson(Map<String, dynamic> json) {
  return UserProfilePhotos(
    totalCount: json['total_count']!,
    photos: PhotoSize.listOfListsFromJsonArray(json['photos']!),
  );
}