copyWith method
Implementation
CreditBankIncomeSummary copyWith(
{double? totalAmount,
String? isoCurrencyCode,
String? unofficialCurrencyCode,
DateTime? startDate,
DateTime? endDate,
int? incomeSourcesCount,
int? incomeCategoriesCount,
int? incomeTransactionsCount,
List<CreditBankIncomeHistoricalSummary>? historicalSummary}) {
return CreditBankIncomeSummary(
totalAmount: totalAmount ?? this.totalAmount,
isoCurrencyCode: isoCurrencyCode ?? this.isoCurrencyCode,
unofficialCurrencyCode:
unofficialCurrencyCode ?? this.unofficialCurrencyCode,
startDate: startDate ?? this.startDate,
endDate: endDate ?? this.endDate,
incomeSourcesCount: incomeSourcesCount ?? this.incomeSourcesCount,
incomeCategoriesCount:
incomeCategoriesCount ?? this.incomeCategoriesCount,
incomeTransactionsCount:
incomeTransactionsCount ?? this.incomeTransactionsCount,
historicalSummary: historicalSummary ?? this.historicalSummary);
}