GiftCollections.fromJson constructor
Parses a GiftCollections from TDLib JSON.
Implementation
factory GiftCollections.fromJson(Map<String, dynamic> json) =>
GiftCollections(
collections: _readList<GiftCollection>(
json['collections'],
(e) => _readObject(e, GiftCollection.fromJson),
),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);