XRPLedgerStateAccounting.fromJson constructor

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

Implementation

factory XRPLedgerStateAccounting.fromJson(Map<String, dynamic> json) {
  return XRPLedgerStateAccounting(
    connected: XRPLedgerStateAccountingDuration.fromJson(json['connected']),
    disconnected:
        XRPLedgerStateAccountingDuration.fromJson(json['disconnected']),
    full: XRPLedgerStateAccountingDuration.fromJson(json['full']),
    syncing: XRPLedgerStateAccountingDuration.fromJson(json['syncing']),
    tracking: XRPLedgerStateAccountingDuration.fromJson(json['tracking']),
  );
}