copyWithWrapped method
Implementation
CreditPayStubNetPay copyWithWrapped(
{Wrapped<double?>? currentAmount,
Wrapped<String?>? description,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? unofficialCurrencyCode,
Wrapped<double?>? ytdAmount}) {
return CreditPayStubNetPay(
currentAmount:
(currentAmount != null ? currentAmount.value : this.currentAmount),
description:
(description != null ? description.value : this.description),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode),
ytdAmount: (ytdAmount != null ? ytdAmount.value : this.ytdAmount));
}