PaymentSentMessage constructor

PaymentSentMessage({
  1. String? tradeId,
  2. NodeAddress? senderNodeAddress,
  3. String? counterCurrencyTxId,
  4. String? uid,
  5. String? counterCurrencyExtraData,
  6. String? payoutTxHex,
  7. String? updatedMultisigHex,
  8. List<int>? paymentAccountKey,
  9. AccountAgeWitness? sellerAccountAgeWitness,
  10. List<int>? buyerSignature,
})

Implementation

factory PaymentSentMessage({
  $core.String? tradeId,
  NodeAddress? senderNodeAddress,
  $core.String? counterCurrencyTxId,
  $core.String? uid,
  $core.String? counterCurrencyExtraData,
  $core.String? payoutTxHex,
  $core.String? updatedMultisigHex,
  $core.List<$core.int>? paymentAccountKey,
  AccountAgeWitness? sellerAccountAgeWitness,
  $core.List<$core.int>? buyerSignature,
}) {
  final $result = create();
  if (tradeId != null) {
    $result.tradeId = tradeId;
  }
  if (senderNodeAddress != null) {
    $result.senderNodeAddress = senderNodeAddress;
  }
  if (counterCurrencyTxId != null) {
    $result.counterCurrencyTxId = counterCurrencyTxId;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  if (counterCurrencyExtraData != null) {
    $result.counterCurrencyExtraData = counterCurrencyExtraData;
  }
  if (payoutTxHex != null) {
    $result.payoutTxHex = payoutTxHex;
  }
  if (updatedMultisigHex != null) {
    $result.updatedMultisigHex = updatedMultisigHex;
  }
  if (paymentAccountKey != null) {
    $result.paymentAccountKey = paymentAccountKey;
  }
  if (sellerAccountAgeWitness != null) {
    $result.sellerAccountAgeWitness = sellerAccountAgeWitness;
  }
  if (buyerSignature != null) {
    $result.buyerSignature = buyerSignature;
  }
  return $result;
}