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;
}