PersistableEnvelope constructor

PersistableEnvelope({
  1. SequenceNumberMap? sequenceNumberMap,
  2. PeerList? peerList,
  3. AddressEntryList? addressEntryList,
  4. NavigationPath? navigationPath,
  5. TradableList? tradableList,
  6. ArbitrationDisputeList? arbitrationDisputeList,
  7. PreferencesPayload? preferencesPayload,
  8. UserPayload? userPayload,
  9. PaymentAccountList? paymentAccountList,
  10. AccountAgeWitnessStore? accountAgeWitnessStore,
  11. SignedWitnessStore? signedWitnessStore,
  12. MediationDisputeList? mediationDisputeList,
  13. RefundDisputeList? refundDisputeList,
  14. TradeStatistics3Store? tradeStatistics3Store,
  15. MailboxMessageList? mailboxMessageList,
  16. IgnoredMailboxMap? ignoredMailboxMap,
  17. RemovedPayloadsMap? removedPayloadsMap,
  18. XmrAddressEntryList? xmrAddressEntryList,
  19. SignedOfferList? signedOfferList,
  20. EncryptedConnectionList? encryptedConnectionList,
})

Implementation

factory PersistableEnvelope({
  SequenceNumberMap? sequenceNumberMap,
  PeerList? peerList,
  AddressEntryList? addressEntryList,
  NavigationPath? navigationPath,
  TradableList? tradableList,
  ArbitrationDisputeList? arbitrationDisputeList,
  PreferencesPayload? preferencesPayload,
  UserPayload? userPayload,
  PaymentAccountList? paymentAccountList,
  AccountAgeWitnessStore? accountAgeWitnessStore,
  SignedWitnessStore? signedWitnessStore,
  MediationDisputeList? mediationDisputeList,
  RefundDisputeList? refundDisputeList,
  TradeStatistics3Store? tradeStatistics3Store,
  MailboxMessageList? mailboxMessageList,
  IgnoredMailboxMap? ignoredMailboxMap,
  RemovedPayloadsMap? removedPayloadsMap,
  XmrAddressEntryList? xmrAddressEntryList,
  SignedOfferList? signedOfferList,
  EncryptedConnectionList? encryptedConnectionList,
}) {
  final $result = create();
  if (sequenceNumberMap != null) {
    $result.sequenceNumberMap = sequenceNumberMap;
  }
  if (peerList != null) {
    $result.peerList = peerList;
  }
  if (addressEntryList != null) {
    $result.addressEntryList = addressEntryList;
  }
  if (navigationPath != null) {
    $result.navigationPath = navigationPath;
  }
  if (tradableList != null) {
    $result.tradableList = tradableList;
  }
  if (arbitrationDisputeList != null) {
    $result.arbitrationDisputeList = arbitrationDisputeList;
  }
  if (preferencesPayload != null) {
    $result.preferencesPayload = preferencesPayload;
  }
  if (userPayload != null) {
    $result.userPayload = userPayload;
  }
  if (paymentAccountList != null) {
    $result.paymentAccountList = paymentAccountList;
  }
  if (accountAgeWitnessStore != null) {
    $result.accountAgeWitnessStore = accountAgeWitnessStore;
  }
  if (signedWitnessStore != null) {
    $result.signedWitnessStore = signedWitnessStore;
  }
  if (mediationDisputeList != null) {
    $result.mediationDisputeList = mediationDisputeList;
  }
  if (refundDisputeList != null) {
    $result.refundDisputeList = refundDisputeList;
  }
  if (tradeStatistics3Store != null) {
    $result.tradeStatistics3Store = tradeStatistics3Store;
  }
  if (mailboxMessageList != null) {
    $result.mailboxMessageList = mailboxMessageList;
  }
  if (ignoredMailboxMap != null) {
    $result.ignoredMailboxMap = ignoredMailboxMap;
  }
  if (removedPayloadsMap != null) {
    $result.removedPayloadsMap = removedPayloadsMap;
  }
  if (xmrAddressEntryList != null) {
    $result.xmrAddressEntryList = xmrAddressEntryList;
  }
  if (signedOfferList != null) {
    $result.signedOfferList = signedOfferList;
  }
  if (encryptedConnectionList != null) {
    $result.encryptedConnectionList = encryptedConnectionList;
  }
  return $result;
}