copyWithWrapped method
Implementation
PayStubDistributionBreakdown copyWithWrapped(
{Wrapped<String?>? accountName,
Wrapped<String?>? bankName,
Wrapped<double?>? currentAmount,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? mask,
Wrapped<String?>? type,
Wrapped<String?>? unofficialCurrencyCode}) {
return PayStubDistributionBreakdown(
accountName:
(accountName != null ? accountName.value : this.accountName),
bankName: (bankName != null ? bankName.value : this.bankName),
currentAmount:
(currentAmount != null ? currentAmount.value : this.currentAmount),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
mask: (mask != null ? mask.value : this.mask),
type: (type != null ? type.value : this.type),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode));
}