Dispute constructor

Dispute({
  1. String? tradeId,
  2. String? id,
  3. int? traderId,
  4. bool? isOpener,
  5. bool? disputeOpenerIsBuyer,
  6. bool? disputeOpenerIsMaker,
  7. Int64? openingDate,
  8. PubKeyRing? traderPubKeyRing,
  9. Int64? tradeDate,
  10. Contract? contract,
  11. List<int>? contractHash,
  12. List<int>? payoutTxSerialized,
  13. String? payoutTxId,
  14. String? contractAsJson,
  15. List<int>? makerContractSignature,
  16. List<int>? takerContractSignature,
  17. PaymentAccountPayload? makerPaymentAccountPayload,
  18. PaymentAccountPayload? takerPaymentAccountPayload,
  19. PubKeyRing? agentPubKeyRing,
  20. bool? isSupportTicket,
  21. Iterable<ChatMessage>? chatMessage,
  22. bool? isClosed,
  23. DisputeResult? disputeResult,
  24. String? disputePayoutTxId,
  25. SupportType? supportType,
  26. String? mediatorsDisputeResult,
  27. String? delayedPayoutTxId,
  28. String? donationAddressOfDelayedPayoutTx,
  29. Dispute_State? state,
  30. Int64? tradePeriodEnd,
  31. Map<String, String>? extraData,
})

Implementation

factory Dispute({
  $core.String? tradeId,
  $core.String? id,
  $core.int? traderId,
  $core.bool? isOpener,
  $core.bool? disputeOpenerIsBuyer,
  $core.bool? disputeOpenerIsMaker,
  $fixnum.Int64? openingDate,
  PubKeyRing? traderPubKeyRing,
  $fixnum.Int64? tradeDate,
  Contract? contract,
  $core.List<$core.int>? contractHash,
  $core.List<$core.int>? payoutTxSerialized,
  $core.String? payoutTxId,
  $core.String? contractAsJson,
  $core.List<$core.int>? makerContractSignature,
  $core.List<$core.int>? takerContractSignature,
  PaymentAccountPayload? makerPaymentAccountPayload,
  PaymentAccountPayload? takerPaymentAccountPayload,
  PubKeyRing? agentPubKeyRing,
  $core.bool? isSupportTicket,
  $core.Iterable<ChatMessage>? chatMessage,
  $core.bool? isClosed,
  DisputeResult? disputeResult,
  $core.String? disputePayoutTxId,
  SupportType? supportType,
  $core.String? mediatorsDisputeResult,
  $core.String? delayedPayoutTxId,
  $core.String? donationAddressOfDelayedPayoutTx,
  Dispute_State? state,
  $fixnum.Int64? tradePeriodEnd,
  $core.Map<$core.String, $core.String>? extraData,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (id != null) {
    $result.id = id;
  }
  if (traderId != null) {
    $result.traderId = traderId;
  }
  if (isOpener != null) {
    $result.isOpener = isOpener;
  }
  if (disputeOpenerIsBuyer != null) {
    $result.disputeOpenerIsBuyer = disputeOpenerIsBuyer;
  }
  if (disputeOpenerIsMaker != null) {
    $result.disputeOpenerIsMaker = disputeOpenerIsMaker;
  }
  if (openingDate != null) {
    $result.openingDate = openingDate;
  }
  if (traderPubKeyRing != null) {
    $result.traderPubKeyRing = traderPubKeyRing;
  }
  if (tradeDate != null) {
    $result.tradeDate = tradeDate;
  }
  if (contract != null) {
    $result.contract = contract;
  }
  if (contractHash != null) {
    $result.contractHash = contractHash;
  }
  if (payoutTxSerialized != null) {
    $result.payoutTxSerialized = payoutTxSerialized;
  }
  if (payoutTxId != null) {
    $result.payoutTxId = payoutTxId;
  }
  if (contractAsJson != null) {
    $result.contractAsJson = contractAsJson;
  }
  if (makerContractSignature != null) {
    $result.makerContractSignature = makerContractSignature;
  }
  if (takerContractSignature != null) {
    $result.takerContractSignature = takerContractSignature;
  }
  if (makerPaymentAccountPayload != null) {
    $result.makerPaymentAccountPayload = makerPaymentAccountPayload;
  }
  if (takerPaymentAccountPayload != null) {
    $result.takerPaymentAccountPayload = takerPaymentAccountPayload;
  }
  if (agentPubKeyRing != null) {
    $result.agentPubKeyRing = agentPubKeyRing;
  }
  if (isSupportTicket != null) {
    $result.isSupportTicket = isSupportTicket;
  }
  if (chatMessage != null) {
    $result.chatMessage.addAll(chatMessage);
  }
  if (isClosed != null) {
    $result.isClosed = isClosed;
  }
  if (disputeResult != null) {
    $result.disputeResult = disputeResult;
  }
  if (disputePayoutTxId != null) {
    $result.disputePayoutTxId = disputePayoutTxId;
  }
  if (supportType != null) {
    $result.supportType = supportType;
  }
  if (mediatorsDisputeResult != null) {
    $result.mediatorsDisputeResult = mediatorsDisputeResult;
  }
  if (delayedPayoutTxId != null) {
    $result.delayedPayoutTxId = delayedPayoutTxId;
  }
  if (donationAddressOfDelayedPayoutTx != null) {
    $result.donationAddressOfDelayedPayoutTx = donationAddressOfDelayedPayoutTx;
  }
  if (state != null) {
    $result.state = state;
  }
  if (tradePeriodEnd != null) {
    $result.tradePeriodEnd = tradePeriodEnd;
  }
  if (extraData != null) {
    $result.extraData.addAll(extraData);
  }
  return $result;
}