copyWithWrapped method
ScheduledTransactionSummary
copyWithWrapped({
- Wrapped<
String> ? id, - Wrapped<
DateTime> ? dateFirst, - Wrapped<
DateTime> ? dateNext, - Wrapped<
ScheduledTransactionSummaryFrequency> ? frequency, - Wrapped<
num> ? amount, - Wrapped<
String?> ? memo, - Wrapped<
ScheduledTransactionSummaryFlagColor?> ? flagColor, - Wrapped<
String> ? accountId, - Wrapped<
String?> ? payeeId, - Wrapped<
String?> ? categoryId, - Wrapped<
String?> ? transferAccountId, - Wrapped<
bool> ? deleted,
Implementation
ScheduledTransactionSummary copyWithWrapped(
{Wrapped<String>? id,
Wrapped<DateTime>? dateFirst,
Wrapped<DateTime>? dateNext,
Wrapped<enums.ScheduledTransactionSummaryFrequency>? frequency,
Wrapped<num>? amount,
Wrapped<String?>? memo,
Wrapped<enums.ScheduledTransactionSummaryFlagColor?>? flagColor,
Wrapped<String>? accountId,
Wrapped<String?>? payeeId,
Wrapped<String?>? categoryId,
Wrapped<String?>? transferAccountId,
Wrapped<bool>? deleted}) {
return ScheduledTransactionSummary(
id: (id != null ? id.value : this.id),
dateFirst: (dateFirst != null ? dateFirst.value : this.dateFirst),
dateNext: (dateNext != null ? dateNext.value : this.dateNext),
frequency: (frequency != null ? frequency.value : this.frequency),
amount: (amount != null ? amount.value : this.amount),
memo: (memo != null ? memo.value : this.memo),
flagColor: (flagColor != null ? flagColor.value : this.flagColor),
accountId: (accountId != null ? accountId.value : this.accountId),
payeeId: (payeeId != null ? payeeId.value : this.payeeId),
categoryId: (categoryId != null ? categoryId.value : this.categoryId),
transferAccountId: (transferAccountId != null
? transferAccountId.value
: this.transferAccountId),
deleted: (deleted != null ? deleted.value : this.deleted));
}