ChatPhotos.fromJson constructor
Parse from a json
Implementation
factory ChatPhotos.fromJson(Map<String, dynamic> json) => ChatPhotos(
totalCount: json['total_count'],
photos: List<ChatPhoto>.from((json['photos'] ?? [])
.map((item) => ChatPhoto.fromJson(item))
.toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);