copyWithWrapped method
Implementation
PayPeriodDetails copyWithWrapped(
{Wrapped<double?>? checkAmount,
Wrapped<List<DistributionBreakdown>?>? distributionBreakdown,
Wrapped<DateTime?>? endDate,
Wrapped<double?>? grossEarnings,
Wrapped<DateTime?>? payDate,
Wrapped<enums.PayPeriodDetailsPayFrequency?>? payFrequency,
Wrapped<DateTime?>? payDay,
Wrapped<DateTime?>? startDate}) {
return PayPeriodDetails(
checkAmount:
(checkAmount != null ? checkAmount.value : this.checkAmount),
distributionBreakdown: (distributionBreakdown != null
? distributionBreakdown.value
: this.distributionBreakdown),
endDate: (endDate != null ? endDate.value : this.endDate),
grossEarnings:
(grossEarnings != null ? grossEarnings.value : this.grossEarnings),
payDate: (payDate != null ? payDate.value : this.payDate),
payFrequency:
(payFrequency != null ? payFrequency.value : this.payFrequency),
payDay: (payDay != null ? payDay.value : this.payDay),
startDate: (startDate != null ? startDate.value : this.startDate));
}