copyWithWrapped method
PaystubOverride
copyWithWrapped({
- Wrapped<
PaystubOverrideEmployer?> ? employer, - Wrapped<
PaystubOverrideEmployee?> ? employee, - Wrapped<
List< ? incomeBreakdown,IncomeBreakdown> ?> - Wrapped<
PayPeriodDetails?> ? payPeriodDetails,
Implementation
PaystubOverride copyWithWrapped(
{Wrapped<PaystubOverrideEmployer?>? employer,
Wrapped<PaystubOverrideEmployee?>? employee,
Wrapped<List<IncomeBreakdown>?>? incomeBreakdown,
Wrapped<PayPeriodDetails?>? payPeriodDetails}) {
return PaystubOverride(
employer: (employer != null ? employer.value : this.employer),
employee: (employee != null ? employee.value : this.employee),
incomeBreakdown: (incomeBreakdown != null
? incomeBreakdown.value
: this.incomeBreakdown),
payPeriodDetails: (payPeriodDetails != null
? payPeriodDetails.value
: this.payPeriodDetails));
}