copyWith method
SubTransaction
copyWith(
{ - String? id,
- String? transactionId,
- num? amount,
- String? memo,
- String? payeeId,
- String? payeeName,
- String? categoryId,
- String? categoryName,
- String? transferAccountId,
- String? transferTransactionId,
- bool? deleted,
})
Implementation
SubTransaction copyWith(
{String? id,
String? transactionId,
num? amount,
String? memo,
String? payeeId,
String? payeeName,
String? categoryId,
String? categoryName,
String? transferAccountId,
String? transferTransactionId,
bool? deleted}) {
return SubTransaction(
id: id ?? this.id,
transactionId: transactionId ?? this.transactionId,
amount: amount ?? this.amount,
memo: memo ?? this.memo,
payeeId: payeeId ?? this.payeeId,
payeeName: payeeName ?? this.payeeName,
categoryId: categoryId ?? this.categoryId,
categoryName: categoryName ?? this.categoryName,
transferAccountId: transferAccountId ?? this.transferAccountId,
transferTransactionId:
transferTransactionId ?? this.transferTransactionId,
deleted: deleted ?? this.deleted);
}