copyWith method
PayrollIncomeObject
copyWith({
- String? accountId,
- List<
CreditPayStub> ? payStubs, - List<
CreditW2> ? w2s, - List<
Credit1099> ? form1099s,
Implementation
PayrollIncomeObject copyWith(
{String? accountId,
List<CreditPayStub>? payStubs,
List<CreditW2>? w2s,
List<Credit1099>? form1099s}) {
return PayrollIncomeObject(
accountId: accountId ?? this.accountId,
payStubs: payStubs ?? this.payStubs,
w2s: w2s ?? this.w2s,
form1099s: form1099s ?? this.form1099s);
}