ProcessModel constructor
ProcessModel({
- String? offerId,
- String? accountId,
- PubKeyRing? pubKeyRing,
- List<
int> ? payoutTxSignature, - bool? useSavingsWallet,
- Int64? fundsNeededForTrade,
- String? paymentSentMessageState,
- String? paymentSentMessageStateArbitrator,
- List<
int> ? makerSignature, - TradePeer? maker,
- TradePeer? taker,
- TradePeer? arbitrator,
- NodeAddress? tempTradePeerNodeAddress,
- String? multisigAddress,
- List<
int> ? mediatedPayoutTxSignature, - Int64? buyerPayoutAmountFromMediation,
- Int64? sellerPayoutAmountFromMediation,
- Int64? tradeProtocolErrorHeight,
- 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;
}