copyWith method

SecurityOverride copyWith({
  1. String? isin,
  2. String? cusip,
  3. String? sedol,
  4. String? name,
  5. String? tickerSymbol,
  6. String? currency,
})

Implementation

SecurityOverride copyWith(
    {String? isin,
    String? cusip,
    String? sedol,
    String? name,
    String? tickerSymbol,
    String? currency}) {
  return SecurityOverride(
      isin: isin ?? this.isin,
      cusip: cusip ?? this.cusip,
      sedol: sedol ?? this.sedol,
      name: name ?? this.name,
      tickerSymbol: tickerSymbol ?? this.tickerSymbol,
      currency: currency ?? this.currency);
}