copyWithWrapped method
Implementation
TransactionsCategoryRule copyWithWrapped(
{Wrapped<String?>? id,
Wrapped<String?>? itemId,
Wrapped<DateTime?>? createdAt,
Wrapped<String?>? personalFinanceCategory,
Wrapped<TransactionsRuleDetails?>? ruleDetails}) {
return TransactionsCategoryRule(
id: (id != null ? id.value : this.id),
itemId: (itemId != null ? itemId.value : this.itemId),
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
personalFinanceCategory: (personalFinanceCategory != null
? personalFinanceCategory.value
: this.personalFinanceCategory),
ruleDetails:
(ruleDetails != null ? ruleDetails.value : this.ruleDetails));
}