copyWithWrapped method

PayrollIncomeAccountData copyWithWrapped({
  1. Wrapped<String?>? accountId,
  2. Wrapped<PayrollIncomeRateOfPay>? rateOfPay,
  3. Wrapped<String?>? payFrequency,
})

Implementation

PayrollIncomeAccountData copyWithWrapped(
    {Wrapped<String?>? accountId,
    Wrapped<PayrollIncomeRateOfPay>? rateOfPay,
    Wrapped<String?>? payFrequency}) {
  return PayrollIncomeAccountData(
      accountId: (accountId != null ? accountId.value : this.accountId),
      rateOfPay: (rateOfPay != null ? rateOfPay.value : this.rateOfPay),
      payFrequency:
          (payFrequency != null ? payFrequency.value : this.payFrequency));
}