copyWith method
PaystubOverride
copyWith({
- PaystubOverrideEmployer? employer,
- PaystubOverrideEmployee? employee,
- List<
IncomeBreakdown> ? incomeBreakdown, - PayPeriodDetails? payPeriodDetails,
Implementation
PaystubOverride copyWith(
{PaystubOverrideEmployer? employer,
PaystubOverrideEmployee? employee,
List<IncomeBreakdown>? incomeBreakdown,
PayPeriodDetails? payPeriodDetails}) {
return PaystubOverride(
employer: employer ?? this.employer,
employee: employee ?? this.employee,
incomeBreakdown: incomeBreakdown ?? this.incomeBreakdown,
payPeriodDetails: payPeriodDetails ?? this.payPeriodDetails);
}