copyWith method
CreditBankIncome
copyWith({
- String? bankIncomeId,
- DateTime? generatedTime,
- int? daysRequested,
- List<
CreditBankIncomeItem> ? items, - CreditBankIncomeSummary? bankIncomeSummary,
- List<
CreditBankIncomeWarning> ? warnings,
Implementation
CreditBankIncome copyWith(
{String? bankIncomeId,
DateTime? generatedTime,
int? daysRequested,
List<CreditBankIncomeItem>? items,
CreditBankIncomeSummary? bankIncomeSummary,
List<CreditBankIncomeWarning>? warnings}) {
return CreditBankIncome(
bankIncomeId: bankIncomeId ?? this.bankIncomeId,
generatedTime: generatedTime ?? this.generatedTime,
daysRequested: daysRequested ?? this.daysRequested,
items: items ?? this.items,
bankIncomeSummary: bankIncomeSummary ?? this.bankIncomeSummary,
warnings: warnings ?? this.warnings);
}