copyWithWrapped method
ScheduledTransactionDetail
copyWithWrapped({
- Wrapped<
String> ? accountName, - Wrapped<
String?> ? payeeName, - Wrapped<
String?> ? categoryName, - Wrapped<
List< ? subtransactions,ScheduledSubTransaction> > - Wrapped<
String> ? id, - Wrapped<
DateTime> ? dateFirst, - Wrapped<
DateTime> ? dateNext, - Wrapped<
ScheduledTransactionDetailFrequency> ? frequency, - Wrapped<
num> ? amount, - Wrapped<
String?> ? memo, - Wrapped<
ScheduledTransactionDetailFlagColor?> ? flagColor, - Wrapped<
String> ? accountId, - Wrapped<
String?> ? payeeId, - Wrapped<
String?> ? categoryId, - Wrapped<
String?> ? transferAccountId, - Wrapped<
bool> ? deleted,
Implementation
ScheduledTransactionDetail copyWithWrapped(
{Wrapped<String>? accountName,
Wrapped<String?>? payeeName,
Wrapped<String?>? categoryName,
Wrapped<List<ScheduledSubTransaction>>? subtransactions,
Wrapped<String>? id,
Wrapped<DateTime>? dateFirst,
Wrapped<DateTime>? dateNext,
Wrapped<enums.ScheduledTransactionDetailFrequency>? frequency,
Wrapped<num>? amount,
Wrapped<String?>? memo,
Wrapped<enums.ScheduledTransactionDetailFlagColor?>? flagColor,
Wrapped<String>? accountId,
Wrapped<String?>? payeeId,
Wrapped<String?>? categoryId,
Wrapped<String?>? transferAccountId,
Wrapped<bool>? deleted}) {
return ScheduledTransactionDetail(
accountName:
(accountName != null ? accountName.value : this.accountName),
payeeName: (payeeName != null ? payeeName.value : this.payeeName),
categoryName:
(categoryName != null ? categoryName.value : this.categoryName),
subtransactions: (subtransactions != null
? subtransactions.value
: this.subtransactions),
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));
}