Filter constructor

Filter({
  1. Iterable<String>? nodeAddressesBannedFromTrading,
  2. Iterable<String>? bannedOfferIds,
  3. Iterable<PaymentAccountFilter>? bannedPaymentAccounts,
  4. String? signatureAsBase64,
  5. List<int>? ownerPubKeyBytes,
  6. Map<String, String>? extraData,
  7. Iterable<String>? bannedCurrencies,
  8. Iterable<String>? bannedPaymentMethods,
  9. Iterable<String>? arbitrators,
  10. Iterable<String>? seedNodes,
  11. Iterable<String>? priceRelayNodes,
  12. bool? preventPublicXmrNetwork,
  13. Iterable<String>? xmrNodes,
  14. String? disableTradeBelowVersion,
  15. Iterable<String>? mediators,
  16. Iterable<String>? refundAgents,
  17. Iterable<String>? bannedSignerPubKeys,
  18. Iterable<String>? xmrFeeReceiverAddresses,
  19. Int64? creationDate,
  20. String? signerPubKeyAsHex,
  21. Iterable<String>? bannedPrivilegedDevPubKeys,
  22. bool? disableAutoConf,
  23. Iterable<String>? bannedAutoConfExplorers,
  24. Iterable<String>? nodeAddressesBannedFromNetwork,
  25. bool? disableApi,
  26. bool? disableMempoolValidation,
})

Implementation

factory Filter({
  $core.Iterable<$core.String>? nodeAddressesBannedFromTrading,
  $core.Iterable<$core.String>? bannedOfferIds,
  $core.Iterable<PaymentAccountFilter>? bannedPaymentAccounts,
  $core.String? signatureAsBase64,
  $core.List<$core.int>? ownerPubKeyBytes,
  $core.Map<$core.String, $core.String>? extraData,
  $core.Iterable<$core.String>? bannedCurrencies,
  $core.Iterable<$core.String>? bannedPaymentMethods,
  $core.Iterable<$core.String>? arbitrators,
  $core.Iterable<$core.String>? seedNodes,
  $core.Iterable<$core.String>? priceRelayNodes,
  $core.bool? preventPublicXmrNetwork,
  $core.Iterable<$core.String>? xmrNodes,
  $core.String? disableTradeBelowVersion,
  $core.Iterable<$core.String>? mediators,
  $core.Iterable<$core.String>? refundAgents,
  $core.Iterable<$core.String>? bannedSignerPubKeys,
  $core.Iterable<$core.String>? xmrFeeReceiverAddresses,
  $fixnum.Int64? creationDate,
  $core.String? signerPubKeyAsHex,
  $core.Iterable<$core.String>? bannedPrivilegedDevPubKeys,
  $core.bool? disableAutoConf,
  $core.Iterable<$core.String>? bannedAutoConfExplorers,
  $core.Iterable<$core.String>? nodeAddressesBannedFromNetwork,
  $core.bool? disableApi,
  $core.bool? disableMempoolValidation,
}) {
  final $result = create();
  if (nodeAddressesBannedFromTrading != null) {
    $result.nodeAddressesBannedFromTrading.addAll(nodeAddressesBannedFromTrading);
  }
  if (bannedOfferIds != null) {
    $result.bannedOfferIds.addAll(bannedOfferIds);
  }
  if (bannedPaymentAccounts != null) {
    $result.bannedPaymentAccounts.addAll(bannedPaymentAccounts);
  }
  if (signatureAsBase64 != null) {
    $result.signatureAsBase64 = signatureAsBase64;
  }
  if (ownerPubKeyBytes != null) {
    $result.ownerPubKeyBytes = ownerPubKeyBytes;
  }
  if (extraData != null) {
    $result.extraData.addAll(extraData);
  }
  if (bannedCurrencies != null) {
    $result.bannedCurrencies.addAll(bannedCurrencies);
  }
  if (bannedPaymentMethods != null) {
    $result.bannedPaymentMethods.addAll(bannedPaymentMethods);
  }
  if (arbitrators != null) {
    $result.arbitrators.addAll(arbitrators);
  }
  if (seedNodes != null) {
    $result.seedNodes.addAll(seedNodes);
  }
  if (priceRelayNodes != null) {
    $result.priceRelayNodes.addAll(priceRelayNodes);
  }
  if (preventPublicXmrNetwork != null) {
    $result.preventPublicXmrNetwork = preventPublicXmrNetwork;
  }
  if (xmrNodes != null) {
    $result.xmrNodes.addAll(xmrNodes);
  }
  if (disableTradeBelowVersion != null) {
    $result.disableTradeBelowVersion = disableTradeBelowVersion;
  }
  if (mediators != null) {
    $result.mediators.addAll(mediators);
  }
  if (refundAgents != null) {
    $result.refundAgents.addAll(refundAgents);
  }
  if (bannedSignerPubKeys != null) {
    $result.bannedSignerPubKeys.addAll(bannedSignerPubKeys);
  }
  if (xmrFeeReceiverAddresses != null) {
    $result.xmrFeeReceiverAddresses.addAll(xmrFeeReceiverAddresses);
  }
  if (creationDate != null) {
    $result.creationDate = creationDate;
  }
  if (signerPubKeyAsHex != null) {
    $result.signerPubKeyAsHex = signerPubKeyAsHex;
  }
  if (bannedPrivilegedDevPubKeys != null) {
    $result.bannedPrivilegedDevPubKeys.addAll(bannedPrivilegedDevPubKeys);
  }
  if (disableAutoConf != null) {
    $result.disableAutoConf = disableAutoConf;
  }
  if (bannedAutoConfExplorers != null) {
    $result.bannedAutoConfExplorers.addAll(bannedAutoConfExplorers);
  }
  if (nodeAddressesBannedFromNetwork != null) {
    $result.nodeAddressesBannedFromNetwork.addAll(nodeAddressesBannedFromNetwork);
  }
  if (disableApi != null) {
    $result.disableApi = disableApi;
  }
  if (disableMempoolValidation != null) {
    $result.disableMempoolValidation = disableMempoolValidation;
  }
  return $result;
}