ChatRevenueTransactions.fromJson constructor
Parses a ChatRevenueTransactions from TDLib JSON.
Implementation
factory ChatRevenueTransactions.fromJson(Map<String, dynamic> json) =>
ChatRevenueTransactions(
gramAmount: _readInt(json['gram_amount']),
transactions: _readList<ChatRevenueTransaction>(
json['transactions'],
(e) => _readObject(e, ChatRevenueTransaction.fromJson),
),
nextOffset: _readString(json['next_offset']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);