fromXdr static method

LedgerBounds? fromXdr(
  1. XdrLedgerBounds ledgerBounds
)

Creates a LedgerBounds instance from a ledgerBounds XdrLedgerBounds object.

Implementation

static LedgerBounds? fromXdr(XdrLedgerBounds ledgerBounds) {
  return LedgerBounds(
      ledgerBounds.minLedger.uint32, ledgerBounds.maxLedger.uint32);
}