copyWithWrapped method
Implementation
HoldingsOverride copyWithWrapped(
{Wrapped<double>? institutionPrice,
Wrapped<DateTime?>? institutionPriceAsOf,
Wrapped<double?>? costBasis,
Wrapped<double>? quantity,
Wrapped<String>? currency,
Wrapped<SecurityOverride>? security}) {
return HoldingsOverride(
institutionPrice: (institutionPrice != null
? institutionPrice.value
: this.institutionPrice),
institutionPriceAsOf: (institutionPriceAsOf != null
? institutionPriceAsOf.value
: this.institutionPriceAsOf),
costBasis: (costBasis != null ? costBasis.value : this.costBasis),
quantity: (quantity != null ? quantity.value : this.quantity),
currency: (currency != null ? currency.value : this.currency),
security: (security != null ? security.value : this.security));
}