copyWith method
CreditSessionResults
copyWith({
- List<
CreditSessionItemAddResult> ? itemAddResults, - List<
CreditSessionBankIncomeResult> ? bankIncomeResults, - List<
CreditSessionPayrollIncomeResult> ? payrollIncomeResults, - CreditSessionDocumentIncomeResult? documentIncomeResults,
Implementation
CreditSessionResults copyWith(
{List<CreditSessionItemAddResult>? itemAddResults,
List<CreditSessionBankIncomeResult>? bankIncomeResults,
List<CreditSessionPayrollIncomeResult>? payrollIncomeResults,
CreditSessionDocumentIncomeResult? documentIncomeResults}) {
return CreditSessionResults(
itemAddResults: itemAddResults ?? this.itemAddResults,
bankIncomeResults: bankIncomeResults ?? this.bankIncomeResults,
payrollIncomeResults: payrollIncomeResults ?? this.payrollIncomeResults,
documentIncomeResults:
documentIncomeResults ?? this.documentIncomeResults);
}