LedgerBounds class Null safety

LedgerBounds are Preconditions of a transaction per CAP-21<a/>

Constructors

LedgerBounds(int _minLedger, int _maxLedger)
Constructor _minLedger and _maxLedger are 64bit Unix timestamps.

Properties

hashCode int
The hash code for this object.
read-only, inherited
maxLedger int
read-only
minLedger int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXdr() XdrLedgerBounds
Creates a XdrLedgerBounds object from this ledger bounds.

Operators

operator ==(Object o) bool
The equality operator.
override

Static Methods

fromXdr(XdrLedgerBounds ledgerBounds) LedgerBounds?
Creates a LedgerBounds instance from a ledgerBounds XdrLedgerBounds object.