copyWith method
IncomeSummary
copyWith({
- EmployerIncomeSummaryFieldString? employerName,
- EmployeeIncomeSummaryFieldString? employeeName,
- YTDGrossIncomeSummaryFieldNumber? ytdGrossIncome,
- YTDNetIncomeSummaryFieldNumber? ytdNetIncome,
- PayFrequency? payFrequency,
- ProjectedIncomeSummaryFieldNumber? projectedWage,
- TransactionData? verifiedTransaction,
Implementation
IncomeSummary copyWith(
{EmployerIncomeSummaryFieldString? employerName,
EmployeeIncomeSummaryFieldString? employeeName,
YTDGrossIncomeSummaryFieldNumber? ytdGrossIncome,
YTDNetIncomeSummaryFieldNumber? ytdNetIncome,
PayFrequency? payFrequency,
ProjectedIncomeSummaryFieldNumber? projectedWage,
TransactionData? verifiedTransaction}) {
return IncomeSummary(
employerName: employerName ?? this.employerName,
employeeName: employeeName ?? this.employeeName,
ytdGrossIncome: ytdGrossIncome ?? this.ytdGrossIncome,
ytdNetIncome: ytdNetIncome ?? this.ytdNetIncome,
payFrequency: payFrequency ?? this.payFrequency,
projectedWage: projectedWage ?? this.projectedWage,
verifiedTransaction: verifiedTransaction ?? this.verifiedTransaction);
}