copyWithWrapped method
IncomeSummary
copyWithWrapped({
- Wrapped<
EmployerIncomeSummaryFieldString> ? employerName, - Wrapped<
EmployeeIncomeSummaryFieldString> ? employeeName, - Wrapped<
YTDGrossIncomeSummaryFieldNumber> ? ytdGrossIncome, - Wrapped<
YTDNetIncomeSummaryFieldNumber> ? ytdNetIncome, - Wrapped<
PayFrequency?> ? payFrequency, - Wrapped<
ProjectedIncomeSummaryFieldNumber> ? projectedWage, - Wrapped<
TransactionData?> ? verifiedTransaction,
Implementation
IncomeSummary copyWithWrapped(
{Wrapped<EmployerIncomeSummaryFieldString>? employerName,
Wrapped<EmployeeIncomeSummaryFieldString>? employeeName,
Wrapped<YTDGrossIncomeSummaryFieldNumber>? ytdGrossIncome,
Wrapped<YTDNetIncomeSummaryFieldNumber>? ytdNetIncome,
Wrapped<PayFrequency?>? payFrequency,
Wrapped<ProjectedIncomeSummaryFieldNumber>? projectedWage,
Wrapped<TransactionData?>? verifiedTransaction}) {
return IncomeSummary(
employerName:
(employerName != null ? employerName.value : this.employerName),
employeeName:
(employeeName != null ? employeeName.value : this.employeeName),
ytdGrossIncome: (ytdGrossIncome != null
? ytdGrossIncome.value
: this.ytdGrossIncome),
ytdNetIncome:
(ytdNetIncome != null ? ytdNetIncome.value : this.ytdNetIncome),
payFrequency:
(payFrequency != null ? payFrequency.value : this.payFrequency),
projectedWage:
(projectedWage != null ? projectedWage.value : this.projectedWage),
verifiedTransaction: (verifiedTransaction != null
? verifiedTransaction.value
: this.verifiedTransaction));
}