DepositHTLTOrder constructor

DepositHTLTOrder({
  1. List<int>? from,
  2. Iterable<SendOrder_Token>? amount,
  3. List<int>? swapId,
})

Implementation

factory DepositHTLTOrder({
  $core.List<$core.int>? from,
  $core.Iterable<SendOrder_Token>? amount,
  $core.List<$core.int>? swapId,
}) {
  final _result = create();
  if (from != null) {
    _result.from = from;
  }
  if (amount != null) {
    _result.amount.addAll(amount);
  }
  if (swapId != null) {
    _result.swapId = swapId;
  }
  return _result;
}