copyWithWrapped method
Implementation
ClientProvidedEnrichedTransaction copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? description,
Wrapped<double>? amount,
Wrapped<enums.EnrichTransactionDirection?>? direction,
Wrapped<String>? isoCurrencyCode,
Wrapped<Enrichments>? enrichments}) {
return ClientProvidedEnrichedTransaction(
id: (id != null ? id.value : this.id),
description:
(description != null ? description.value : this.description),
amount: (amount != null ? amount.value : this.amount),
direction: (direction != null ? direction.value : this.direction),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
enrichments:
(enrichments != null ? enrichments.value : this.enrichments));
}