Filter constructor
Filter({
- Iterable<
String> ? nodeAddressesBannedFromTrading, - Iterable<
String> ? bannedOfferIds, - Iterable<
PaymentAccountFilter> ? bannedPaymentAccounts, - String? signatureAsBase64,
- List<
int> ? ownerPubKeyBytes, - Map<
String, String> ? extraData, - Iterable<
String> ? bannedCurrencies, - Iterable<
String> ? bannedPaymentMethods, - Iterable<
String> ? arbitrators, - Iterable<
String> ? seedNodes, - Iterable<
String> ? priceRelayNodes, - bool? preventPublicXmrNetwork,
- Iterable<
String> ? xmrNodes, - String? disableTradeBelowVersion,
- Iterable<
String> ? mediators, - Iterable<
String> ? refundAgents, - Iterable<
String> ? bannedSignerPubKeys, - Iterable<
String> ? xmrFeeReceiverAddresses, - Int64? creationDate,
- String? signerPubKeyAsHex,
- Iterable<
String> ? bannedPrivilegedDevPubKeys, - bool? disableAutoConf,
- Iterable<
String> ? bannedAutoConfExplorers, - Iterable<
String> ? nodeAddressesBannedFromNetwork, - bool? disableApi,
- 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;
}