ProcessModel constructor

ProcessModel({
  1. String? offerId,
  2. String? accountId,
  3. PubKeyRing? pubKeyRing,
  4. List<int>? payoutTxSignature,
  5. bool? useSavingsWallet,
  6. Int64? fundsNeededForTrade,
  7. String? paymentSentMessageState,
  8. String? paymentSentMessageStateArbitrator,
  9. List<int>? makerSignature,
  10. TradePeer? maker,
  11. TradePeer? taker,
  12. TradePeer? arbitrator,
  13. NodeAddress? tempTradePeerNodeAddress,
  14. String? multisigAddress,
  15. List<int>? mediatedPayoutTxSignature,
  16. Int64? buyerPayoutAmountFromMediation,
  17. Int64? sellerPayoutAmountFromMediation,
  18. Int64? tradeProtocolErrorHeight,
  19. String? tradeFeeAddress,
})

Implementation

factory ProcessModel({
  $core.String? offerId,
  $core.String? accountId,
  PubKeyRing? pubKeyRing,
  $core.List<$core.int>? payoutTxSignature,
  $core.bool? useSavingsWallet,
  $fixnum.Int64? fundsNeededForTrade,
  $core.String? paymentSentMessageState,
  $core.String? paymentSentMessageStateArbitrator,
  $core.List<$core.int>? makerSignature,
  TradePeer? maker,
  TradePeer? taker,
  TradePeer? arbitrator,
  NodeAddress? tempTradePeerNodeAddress,
  $core.String? multisigAddress,
  $core.List<$core.int>? mediatedPayoutTxSignature,
  $fixnum.Int64? buyerPayoutAmountFromMediation,
  $fixnum.Int64? sellerPayoutAmountFromMediation,
  $fixnum.Int64? tradeProtocolErrorHeight,
  $core.String? tradeFeeAddress,
}) {
  final $result = create();
  if (offerId != null) {
    $result.offerId = offerId;
  }
  if (accountId != null) {
    $result.accountId = accountId;
  }
  if (pubKeyRing != null) {
    $result.pubKeyRing = pubKeyRing;
  }
  if (payoutTxSignature != null) {
    $result.payoutTxSignature = payoutTxSignature;
  }
  if (useSavingsWallet != null) {
    $result.useSavingsWallet = useSavingsWallet;
  }
  if (fundsNeededForTrade != null) {
    $result.fundsNeededForTrade = fundsNeededForTrade;
  }
  if (paymentSentMessageState != null) {
    $result.paymentSentMessageState = paymentSentMessageState;
  }
  if (paymentSentMessageStateArbitrator != null) {
    $result.paymentSentMessageStateArbitrator = paymentSentMessageStateArbitrator;
  }
  if (makerSignature != null) {
    $result.makerSignature = makerSignature;
  }
  if (maker != null) {
    $result.maker = maker;
  }
  if (taker != null) {
    $result.taker = taker;
  }
  if (arbitrator != null) {
    $result.arbitrator = arbitrator;
  }
  if (tempTradePeerNodeAddress != null) {
    $result.tempTradePeerNodeAddress = tempTradePeerNodeAddress;
  }
  if (multisigAddress != null) {
    $result.multisigAddress = multisigAddress;
  }
  if (mediatedPayoutTxSignature != null) {
    $result.mediatedPayoutTxSignature = mediatedPayoutTxSignature;
  }
  if (buyerPayoutAmountFromMediation != null) {
    $result.buyerPayoutAmountFromMediation = buyerPayoutAmountFromMediation;
  }
  if (sellerPayoutAmountFromMediation != null) {
    $result.sellerPayoutAmountFromMediation = sellerPayoutAmountFromMediation;
  }
  if (tradeProtocolErrorHeight != null) {
    $result.tradeProtocolErrorHeight = tradeProtocolErrorHeight;
  }
  if (tradeFeeAddress != null) {
    $result.tradeFeeAddress = tradeFeeAddress;
  }
  return $result;
}