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