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