copyWith method
Implementation
InvestmentsTransactionsOverride copyWith(
{DateTime? date,
String? name,
double? quantity,
double? price,
double? fees,
String? type,
String? currency,
SecurityOverride? security}) {
return InvestmentsTransactionsOverride(
date: date ?? this.date,
name: name ?? this.name,
quantity: quantity ?? this.quantity,
price: price ?? this.price,
fees: fees ?? this.fees,
type: type ?? this.type,
currency: currency ?? this.currency,
security: security ?? this.security);
}