DepositResponse constructor

DepositResponse({
  1. String? tradeId,
  2. String? uid,
  3. Int64? currentDate,
  4. String? errorMessage,
  5. Int64? buyerSecurityDeposit,
  6. Int64? sellerSecurityDeposit,
})

Implementation

factory DepositResponse({
  $core.String? tradeId,
  $core.String? uid,
  $fixnum.Int64? currentDate,
  $core.String? errorMessage,
  $fixnum.Int64? buyerSecurityDeposit,
  $fixnum.Int64? sellerSecurityDeposit,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  if (currentDate != null) {
    $result.currentDate = currentDate;
  }
  if (errorMessage != null) {
    $result.errorMessage = errorMessage;
  }
  if (buyerSecurityDeposit != null) {
    $result.buyerSecurityDeposit = buyerSecurityDeposit;
  }
  if (sellerSecurityDeposit != null) {
    $result.sellerSecurityDeposit = sellerSecurityDeposit;
  }
  return $result;
}