copyWith method
CreditBankIncomeItem
copyWith({
- List<
CreditBankIncomeAccount> ? bankIncomeAccounts, - List<
CreditBankIncomeSource> ? bankIncomeSources, - DateTime? lastUpdatedTime,
- String? institutionId,
- String? institutionName,
- String? itemId,
Implementation
CreditBankIncomeItem copyWith(
{List<CreditBankIncomeAccount>? bankIncomeAccounts,
List<CreditBankIncomeSource>? bankIncomeSources,
DateTime? lastUpdatedTime,
String? institutionId,
String? institutionName,
String? itemId}) {
return CreditBankIncomeItem(
bankIncomeAccounts: bankIncomeAccounts ?? this.bankIncomeAccounts,
bankIncomeSources: bankIncomeSources ?? this.bankIncomeSources,
lastUpdatedTime: lastUpdatedTime ?? this.lastUpdatedTime,
institutionId: institutionId ?? this.institutionId,
institutionName: institutionName ?? this.institutionName,
itemId: itemId ?? this.itemId);
}