DepositRequest constructor

DepositRequest({
  1. String? tradeId,
  2. String? uid,
  3. Int64? currentDate,
  4. List<int>? contractSignature,
  5. String? depositTxHex,
  6. String? depositTxKey,
  7. List<int>? paymentAccountKey,
})

Implementation

factory DepositRequest({
  $core.String? tradeId,
  $core.String? uid,
  $fixnum.Int64? currentDate,
  $core.List<$core.int>? contractSignature,
  $core.String? depositTxHex,
  $core.String? depositTxKey,
  $core.List<$core.int>? paymentAccountKey,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  if (currentDate != null) {
    $result.currentDate = currentDate;
  }
  if (contractSignature != null) {
    $result.contractSignature = contractSignature;
  }
  if (depositTxHex != null) {
    $result.depositTxHex = depositTxHex;
  }
  if (depositTxKey != null) {
    $result.depositTxKey = depositTxKey;
  }
  if (paymentAccountKey != null) {
    $result.paymentAccountKey = paymentAccountKey;
  }
  return $result;
}