HTLTOrder constructor
HTLTOrder({})
Implementation
factory HTLTOrder({
$core.List<$core.int>? from,
$core.List<$core.int>? to,
$core.String? recipientOtherChain,
$core.String? senderOtherChain,
$core.List<$core.int>? randomNumberHash,
$fixnum.Int64? timestamp,
$core.Iterable<SendOrder_Token>? amount,
$core.String? expectedIncome,
$fixnum.Int64? heightSpan,
$core.bool? crossChain,
}) {
final result = create();
if (from != null) result.from = from;
if (to != null) result.to = to;
if (recipientOtherChain != null)
result.recipientOtherChain = recipientOtherChain;
if (senderOtherChain != null) result.senderOtherChain = senderOtherChain;
if (randomNumberHash != null) result.randomNumberHash = randomNumberHash;
if (timestamp != null) result.timestamp = timestamp;
if (amount != null) result.amount.addAll(amount);
if (expectedIncome != null) result.expectedIncome = expectedIncome;
if (heightSpan != null) result.heightSpan = heightSpan;
if (crossChain != null) result.crossChain = crossChain;
return result;
}