copyWithWrapped method
Implementation
HistoricalBalance copyWithWrapped(
{Wrapped<DateTime>? date,
Wrapped<double>? current,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? unofficialCurrencyCode}) {
return HistoricalBalance(
date: (date != null ? date.value : this.date),
current: (current != null ? current.value : this.current),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode));
}