Dispute constructor
Dispute({
- String? tradeId,
- String? id,
- int? traderId,
- bool? isOpener,
- bool? disputeOpenerIsBuyer,
- bool? disputeOpenerIsMaker,
- Int64? openingDate,
- PubKeyRing? traderPubKeyRing,
- Int64? tradeDate,
- Contract? contract,
- List<
int> ? contractHash, - List<
int> ? payoutTxSerialized, - String? payoutTxId,
- String? contractAsJson,
- List<
int> ? makerContractSignature, - List<
int> ? takerContractSignature, - PaymentAccountPayload? makerPaymentAccountPayload,
- PaymentAccountPayload? takerPaymentAccountPayload,
- PubKeyRing? agentPubKeyRing,
- bool? isSupportTicket,
- Iterable<
ChatMessage> ? chatMessage, - bool? isClosed,
- DisputeResult? disputeResult,
- String? disputePayoutTxId,
- SupportType? supportType,
- String? mediatorsDisputeResult,
- String? delayedPayoutTxId,
- String? donationAddressOfDelayedPayoutTx,
- Dispute_State? state,
- Int64? tradePeriodEnd,
- 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;
}