copyWithWrapped method
CreditBankIncomeSource
copyWithWrapped({
- Wrapped<
String?> ? incomeSourceId, - Wrapped<
String?> ? incomeDescription, - Wrapped<
CreditBankIncomeCategory?> ? incomeCategory, - Wrapped<
String?> ? accountId, - Wrapped<
DateTime?> ? startDate, - Wrapped<
DateTime?> ? endDate, - Wrapped<
CreditBankIncomePayFrequency?> ? payFrequency, - Wrapped<
double?> ? totalAmount, - Wrapped<
int?> ? transactionCount, - Wrapped<
List< ? historicalSummary,CreditBankIncomeHistoricalSummary> ?>
Implementation
CreditBankIncomeSource copyWithWrapped(
{Wrapped<String?>? incomeSourceId,
Wrapped<String?>? incomeDescription,
Wrapped<enums.CreditBankIncomeCategory?>? incomeCategory,
Wrapped<String?>? accountId,
Wrapped<DateTime?>? startDate,
Wrapped<DateTime?>? endDate,
Wrapped<enums.CreditBankIncomePayFrequency?>? payFrequency,
Wrapped<double?>? totalAmount,
Wrapped<int?>? transactionCount,
Wrapped<List<CreditBankIncomeHistoricalSummary>?>? historicalSummary}) {
return CreditBankIncomeSource(
incomeSourceId: (incomeSourceId != null
? incomeSourceId.value
: this.incomeSourceId),
incomeDescription: (incomeDescription != null
? incomeDescription.value
: this.incomeDescription),
incomeCategory: (incomeCategory != null
? incomeCategory.value
: this.incomeCategory),
accountId: (accountId != null ? accountId.value : this.accountId),
startDate: (startDate != null ? startDate.value : this.startDate),
endDate: (endDate != null ? endDate.value : this.endDate),
payFrequency:
(payFrequency != null ? payFrequency.value : this.payFrequency),
totalAmount:
(totalAmount != null ? totalAmount.value : this.totalAmount),
transactionCount: (transactionCount != null
? transactionCount.value
: this.transactionCount),
historicalSummary: (historicalSummary != null
? historicalSummary.value
: this.historicalSummary));
}