LedgerEntry.fromJson constructor

LedgerEntry.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LedgerEntry.fromJson(Map<String, dynamic> json) {
  String key = json['key'];
  String xdr = json['xdr'];
  String lastModifiedLedgerSeq = json['lastModifiedLedgerSeq'];
  String? expirationLedgerSeq = json['expirationLedgerSeq'];
  return LedgerEntry(key, xdr, lastModifiedLedgerSeq, expirationLedgerSeq);
}