copyWithWrapped method
Implementation
BudgetSummary copyWithWrapped(
{Wrapped<String>? id,
Wrapped<String>? name,
Wrapped<DateTime?>? lastModifiedOn,
Wrapped<DateTime?>? firstMonth,
Wrapped<DateTime?>? lastMonth,
Wrapped<DateFormat?>? dateFormat,
Wrapped<CurrencyFormat?>? currencyFormat,
Wrapped<List<Account>?>? accounts}) {
return BudgetSummary(
id: (id != null ? id.value : this.id),
name: (name != null ? name.value : this.name),
lastModifiedOn: (lastModifiedOn != null
? lastModifiedOn.value
: this.lastModifiedOn),
firstMonth: (firstMonth != null ? firstMonth.value : this.firstMonth),
lastMonth: (lastMonth != null ? lastMonth.value : this.lastMonth),
dateFormat: (dateFormat != null ? dateFormat.value : this.dateFormat),
currencyFormat: (currencyFormat != null
? currencyFormat.value
: this.currencyFormat),
accounts: (accounts != null ? accounts.value : this.accounts));
}