ChatPhotos.fromJson constructor
Parses a ChatPhotos from TDLib JSON.
Implementation
factory ChatPhotos.fromJson(Map<String, dynamic> json) => ChatPhotos(
totalCount: _readInt(json['total_count']),
photos: _readList<ChatPhoto>(
json['photos'], (e) => _readObject(e, ChatPhoto.fromJson)),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);