copyWithWrapped method
CreditBankIncomeSummary
copyWithWrapped({
- Wrapped<
double?> ? totalAmount, - Wrapped<
String?> ? isoCurrencyCode, - Wrapped<
String?> ? unofficialCurrencyCode, - Wrapped<
DateTime?> ? startDate, - Wrapped<
DateTime?> ? endDate, - Wrapped<
int?> ? incomeSourcesCount, - Wrapped<
int?> ? incomeCategoriesCount, - Wrapped<
int?> ? incomeTransactionsCount, - Wrapped<
List< ? historicalSummary,CreditBankIncomeHistoricalSummary> ?>
Implementation
CreditBankIncomeSummary copyWithWrapped(
{Wrapped<double?>? totalAmount,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? unofficialCurrencyCode,
Wrapped<DateTime?>? startDate,
Wrapped<DateTime?>? endDate,
Wrapped<int?>? incomeSourcesCount,
Wrapped<int?>? incomeCategoriesCount,
Wrapped<int?>? incomeTransactionsCount,
Wrapped<List<CreditBankIncomeHistoricalSummary>?>? historicalSummary}) {
return CreditBankIncomeSummary(
totalAmount:
(totalAmount != null ? totalAmount.value : this.totalAmount),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode),
startDate: (startDate != null ? startDate.value : this.startDate),
endDate: (endDate != null ? endDate.value : this.endDate),
incomeSourcesCount: (incomeSourcesCount != null
? incomeSourcesCount.value
: this.incomeSourcesCount),
incomeCategoriesCount: (incomeCategoriesCount != null
? incomeCategoriesCount.value
: this.incomeCategoriesCount),
incomeTransactionsCount: (incomeTransactionsCount != null
? incomeTransactionsCount.value
: this.incomeTransactionsCount),
historicalSummary: (historicalSummary != null
? historicalSummary.value
: this.historicalSummary));
}