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