copyWithWrapped method
Implementation
InvestmentsTransactionsOverride copyWithWrapped(
{Wrapped<DateTime>? date,
Wrapped<String>? name,
Wrapped<double>? quantity,
Wrapped<double>? price,
Wrapped<double?>? fees,
Wrapped<String>? type,
Wrapped<String>? currency,
Wrapped<SecurityOverride?>? security}) {
return InvestmentsTransactionsOverride(
date: (date != null ? date.value : this.date),
name: (name != null ? name.value : this.name),
quantity: (quantity != null ? quantity.value : this.quantity),
price: (price != null ? price.value : this.price),
fees: (fees != null ? fees.value : this.fees),
type: (type != null ? type.value : this.type),
currency: (currency != null ? currency.value : this.currency),
security: (security != null ? security.value : this.security));
}