copyWith method
TransactionsCategoryRule
copyWith({
- String? id,
- String? itemId,
- DateTime? createdAt,
- String? personalFinanceCategory,
- TransactionsRuleDetails? ruleDetails,
Implementation
TransactionsCategoryRule copyWith(
{String? id,
String? itemId,
DateTime? createdAt,
String? personalFinanceCategory,
TransactionsRuleDetails? ruleDetails}) {
return TransactionsCategoryRule(
id: id ?? this.id,
itemId: itemId ?? this.itemId,
createdAt: createdAt ?? this.createdAt,
personalFinanceCategory:
personalFinanceCategory ?? this.personalFinanceCategory,
ruleDetails: ruleDetails ?? this.ruleDetails);
}