DisputeResult constructor

DisputeResult({
  1. String? tradeId,
  2. int? traderId,
  3. DisputeResult_Winner? winner,
  4. int? reasonOrdinal,
  5. bool? tamperProofEvidence,
  6. bool? idVerification,
  7. bool? screenCast,
  8. String? summaryNotes,
  9. ChatMessage? chatMessage,
  10. List<int>? arbitratorSignature,
  11. Int64? buyerPayoutAmountBeforeCost,
  12. Int64? sellerPayoutAmountBeforeCost,
  13. DisputeResult_SubtractFeeFrom? subtractFeeFrom,
  14. List<int>? arbitratorPubKey,
  15. Int64? closeDate,
  16. bool? isLoserPublisher,
})

Implementation

factory DisputeResult({
  $core.String? tradeId,
  $core.int? traderId,
  DisputeResult_Winner? winner,
  $core.int? reasonOrdinal,
  $core.bool? tamperProofEvidence,
  $core.bool? idVerification,
  $core.bool? screenCast,
  $core.String? summaryNotes,
  ChatMessage? chatMessage,
  $core.List<$core.int>? arbitratorSignature,
  $fixnum.Int64? buyerPayoutAmountBeforeCost,
  $fixnum.Int64? sellerPayoutAmountBeforeCost,
  DisputeResult_SubtractFeeFrom? subtractFeeFrom,
  $core.List<$core.int>? arbitratorPubKey,
  $fixnum.Int64? closeDate,
  $core.bool? isLoserPublisher,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (traderId != null) {
    $result.traderId = traderId;
  }
  if (winner != null) {
    $result.winner = winner;
  }
  if (reasonOrdinal != null) {
    $result.reasonOrdinal = reasonOrdinal;
  }
  if (tamperProofEvidence != null) {
    $result.tamperProofEvidence = tamperProofEvidence;
  }
  if (idVerification != null) {
    $result.idVerification = idVerification;
  }
  if (screenCast != null) {
    $result.screenCast = screenCast;
  }
  if (summaryNotes != null) {
    $result.summaryNotes = summaryNotes;
  }
  if (chatMessage != null) {
    $result.chatMessage = chatMessage;
  }
  if (arbitratorSignature != null) {
    $result.arbitratorSignature = arbitratorSignature;
  }
  if (buyerPayoutAmountBeforeCost != null) {
    $result.buyerPayoutAmountBeforeCost = buyerPayoutAmountBeforeCost;
  }
  if (sellerPayoutAmountBeforeCost != null) {
    $result.sellerPayoutAmountBeforeCost = sellerPayoutAmountBeforeCost;
  }
  if (subtractFeeFrom != null) {
    $result.subtractFeeFrom = subtractFeeFrom;
  }
  if (arbitratorPubKey != null) {
    $result.arbitratorPubKey = arbitratorPubKey;
  }
  if (closeDate != null) {
    $result.closeDate = closeDate;
  }
  if (isLoserPublisher != null) {
    $result.isLoserPublisher = isLoserPublisher;
  }
  return $result;
}