copyWithWrapped method
Implementation
ClientProvidedEnhancedTransaction copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? description,
Wrapped<double>? amount,
Wrapped<String>? isoCurrencyCode,
Wrapped<Enhancements>? enhancements}) {
return ClientProvidedEnhancedTransaction(
id: (id != null ? id.value : this.id),
description:
(description != null ? description.value : this.description),
amount: (amount != null ? amount.value : this.amount),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
enhancements:
(enhancements != null ? enhancements.value : this.enhancements));
}