copyWithWrapped method
BudgetDetail
copyWithWrapped({
- Wrapped<
List< ? accounts,Account> ?> - Wrapped<
List< ? payees,Payee> ?> - Wrapped<
List< ? payeeLocations,PayeeLocation> ?> - Wrapped<
List< ? categoryGroups,CategoryGroup> ?> - Wrapped<
List< ? categories,Category> ?> - Wrapped<
List< ? months,MonthDetail> ?> - Wrapped<
List< ? transactions,TransactionSummary> ?> - Wrapped<
List< ? subtransactions,SubTransaction> ?> - Wrapped<
List< ? scheduledTransactions,ScheduledTransactionSummary> ?> - Wrapped<
List< ? scheduledSubtransactions,ScheduledSubTransaction> ?> - Wrapped<
String> ? id, - Wrapped<
String> ? name, - Wrapped<
DateTime?> ? lastModifiedOn, - Wrapped<
DateTime?> ? firstMonth, - Wrapped<
DateTime?> ? lastMonth, - Wrapped<
DateFormat?> ? dateFormat, - Wrapped<
CurrencyFormat?> ? currencyFormat,
Implementation
BudgetDetail copyWithWrapped(
{Wrapped<List<Account>?>? accounts,
Wrapped<List<Payee>?>? payees,
Wrapped<List<PayeeLocation>?>? payeeLocations,
Wrapped<List<CategoryGroup>?>? categoryGroups,
Wrapped<List<Category>?>? categories,
Wrapped<List<MonthDetail>?>? months,
Wrapped<List<TransactionSummary>?>? transactions,
Wrapped<List<SubTransaction>?>? subtransactions,
Wrapped<List<ScheduledTransactionSummary>?>? scheduledTransactions,
Wrapped<List<ScheduledSubTransaction>?>? scheduledSubtransactions,
Wrapped<String>? id,
Wrapped<String>? name,
Wrapped<DateTime?>? lastModifiedOn,
Wrapped<DateTime?>? firstMonth,
Wrapped<DateTime?>? lastMonth,
Wrapped<DateFormat?>? dateFormat,
Wrapped<CurrencyFormat?>? currencyFormat}) {
return BudgetDetail(
accounts: (accounts != null ? accounts.value : this.accounts),
payees: (payees != null ? payees.value : this.payees),
payeeLocations: (payeeLocations != null
? payeeLocations.value
: this.payeeLocations),
categoryGroups: (categoryGroups != null
? categoryGroups.value
: this.categoryGroups),
categories: (categories != null ? categories.value : this.categories),
months: (months != null ? months.value : this.months),
transactions:
(transactions != null ? transactions.value : this.transactions),
subtransactions: (subtransactions != null
? subtransactions.value
: this.subtransactions),
scheduledTransactions: (scheduledTransactions != null
? scheduledTransactions.value
: this.scheduledTransactions),
scheduledSubtransactions: (scheduledSubtransactions != null
? scheduledSubtransactions.value
: this.scheduledSubtransactions),
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));
}