copyWith method
ScheduledTransactionSummary
copyWith(
{ - String? id,
- DateTime? dateFirst,
- DateTime? dateNext,
- ScheduledTransactionSummaryFrequency? frequency,
- num? amount,
- String? memo,
- ScheduledTransactionSummaryFlagColor? flagColor,
- String? accountId,
- String? payeeId,
- String? categoryId,
- String? transferAccountId,
- bool? deleted,
})
Implementation
ScheduledTransactionSummary copyWith(
{String? id,
DateTime? dateFirst,
DateTime? dateNext,
enums.ScheduledTransactionSummaryFrequency? frequency,
num? amount,
String? memo,
enums.ScheduledTransactionSummaryFlagColor? flagColor,
String? accountId,
String? payeeId,
String? categoryId,
String? transferAccountId,
bool? deleted}) {
return ScheduledTransactionSummary(
id: id ?? this.id,
dateFirst: dateFirst ?? this.dateFirst,
dateNext: dateNext ?? this.dateNext,
frequency: frequency ?? this.frequency,
amount: amount ?? this.amount,
memo: memo ?? this.memo,
flagColor: flagColor ?? this.flagColor,
accountId: accountId ?? this.accountId,
payeeId: payeeId ?? this.payeeId,
categoryId: categoryId ?? this.categoryId,
transferAccountId: transferAccountId ?? this.transferAccountId,
deleted: deleted ?? this.deleted);
}