UserProfilePhotos constructor

const UserProfilePhotos({
  1. @JsonKey(name: 'total_count') required int totalCount,
  2. @JsonKey(name: 'photos') required List<List<PhotoSize>> photos,
})

Constructs a UserProfilePhotos object

Implementation

const factory UserProfilePhotos({
  /// Total number of profile pictures the target user has
  @JsonKey(name: 'total_count') required int totalCount,

  /// Requested profile pictures (in up to 4 sizes each)
  @JsonKey(name: 'photos') required List<List<PhotoSize>> photos,
}) = _UserProfilePhotos;