TimeBounds class

TimeBounds represents the time interval that a transaction is valid.

Constructors

TimeBounds(int minTime, int maxTime)
Constructor minTime and maxTime are 64bit Unix timestamps.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
maxTime int
read-only
minTime int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXdr() XdrTimeBounds
Creates a XdrTimeBounds object from this time bounds.

Operators

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

Static Methods

expiresAfter(int timeout) TimeBounds
A factory method that sets maxTime to the specified timeout second from now. timeout in seconds.
fromXdr(XdrTimeBounds timeBounds) TimeBounds
Creates a TimeBounds instance from a timeBounds XdrTimeBounds object.