copyWithWrapped method
OverrideAccounts
copyWithWrapped({
- Wrapped<
OverrideAccountType> ? type, - Wrapped<
AccountSubtype?> ? subtype, - Wrapped<
double> ? startingBalance, - Wrapped<
double> ? forceAvailableBalance, - Wrapped<
String> ? currency, - Wrapped<
Meta> ? meta, - Wrapped<
Numbers> ? numbers, - Wrapped<
List< ? transactions,TransactionOverride> > - Wrapped<
HoldingsOverride?> ? holdings, - Wrapped<
InvestmentsTransactionsOverride?> ? investmentTransactions, - Wrapped<
OwnerOverride> ? identity, - Wrapped<
LiabilityOverride> ? liability, - Wrapped<
InflowModel> ? inflowModel, - Wrapped<
IncomeOverride?> ? income,
Implementation
OverrideAccounts copyWithWrapped(
{Wrapped<enums.OverrideAccountType>? type,
Wrapped<enums.AccountSubtype?>? subtype,
Wrapped<double>? startingBalance,
Wrapped<double>? forceAvailableBalance,
Wrapped<String>? currency,
Wrapped<Meta>? meta,
Wrapped<Numbers>? numbers,
Wrapped<List<TransactionOverride>>? transactions,
Wrapped<HoldingsOverride?>? holdings,
Wrapped<InvestmentsTransactionsOverride?>? investmentTransactions,
Wrapped<OwnerOverride>? identity,
Wrapped<LiabilityOverride>? liability,
Wrapped<InflowModel>? inflowModel,
Wrapped<IncomeOverride?>? income}) {
return OverrideAccounts(
type: (type != null ? type.value : this.type),
subtype: (subtype != null ? subtype.value : this.subtype),
startingBalance: (startingBalance != null
? startingBalance.value
: this.startingBalance),
forceAvailableBalance: (forceAvailableBalance != null
? forceAvailableBalance.value
: this.forceAvailableBalance),
currency: (currency != null ? currency.value : this.currency),
meta: (meta != null ? meta.value : this.meta),
numbers: (numbers != null ? numbers.value : this.numbers),
transactions:
(transactions != null ? transactions.value : this.transactions),
holdings: (holdings != null ? holdings.value : this.holdings),
investmentTransactions: (investmentTransactions != null
? investmentTransactions.value
: this.investmentTransactions),
identity: (identity != null ? identity.value : this.identity),
liability: (liability != null ? liability.value : this.liability),
inflowModel:
(inflowModel != null ? inflowModel.value : this.inflowModel),
income: (income != null ? income.value : this.income));
}