addTimeBounds method
Adds time-bounds to this transaction.
deprecated this method will be removed in upcoming releases, use addPreconditions()
instead for more control over preconditions.
Implementation
@Deprecated('Use [addPreconditions()]')
TransactionBuilder addTimeBounds(TimeBounds timeBounds) {
if (_mPreconditions?.timeBounds != null) {
throw Exception("TimeBounds already set.");
}
_mPreconditions = TransactionPreconditions();
_mPreconditions!.timeBounds = timeBounds;
return this;
}