copyWithWrapped method
Implementation
CreditBankIncomeItem copyWithWrapped(
{Wrapped<List<CreditBankIncomeAccount>?>? bankIncomeAccounts,
Wrapped<List<CreditBankIncomeSource>?>? bankIncomeSources,
Wrapped<DateTime?>? lastUpdatedTime,
Wrapped<String?>? institutionId,
Wrapped<String?>? institutionName,
Wrapped<String?>? itemId}) {
return CreditBankIncomeItem(
bankIncomeAccounts: (bankIncomeAccounts != null
? bankIncomeAccounts.value
: this.bankIncomeAccounts),
bankIncomeSources: (bankIncomeSources != null
? bankIncomeSources.value
: this.bankIncomeSources),
lastUpdatedTime: (lastUpdatedTime != null
? lastUpdatedTime.value
: this.lastUpdatedTime),
institutionId:
(institutionId != null ? institutionId.value : this.institutionId),
institutionName: (institutionName != null
? institutionName.value
: this.institutionName),
itemId: (itemId != null ? itemId.value : this.itemId));
}