toJson method
Converts a UserProfilePhotos object to JSON object
Implementation
Map<String, dynamic> toJson() {
return {
'total_count': totalCount,
'photos': List<dynamic>.from(
photos.map(
(x) => List<dynamic>.from(
x.map(
(x) => x.toJson(),
),
),
),
),
};
}