copyWith method

PayrollIncomeAccountData copyWith({
  1. String? accountId,
  2. PayrollIncomeRateOfPay? rateOfPay,
  3. String? payFrequency,
})

Implementation

PayrollIncomeAccountData copyWith(
    {String? accountId,
    PayrollIncomeRateOfPay? rateOfPay,
    String? payFrequency}) {
  return PayrollIncomeAccountData(
      accountId: accountId ?? this.accountId,
      rateOfPay: rateOfPay ?? this.rateOfPay,
      payFrequency: payFrequency ?? this.payFrequency);
}