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