copyWithWrapped method

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

Implementation

SecurityOverride copyWithWrapped(
    {Wrapped<String?>? isin,
    Wrapped<String?>? cusip,
    Wrapped<String?>? sedol,
    Wrapped<String?>? name,
    Wrapped<String?>? tickerSymbol,
    Wrapped<String?>? currency}) {
  return SecurityOverride(
      isin: (isin != null ? isin.value : this.isin),
      cusip: (cusip != null ? cusip.value : this.cusip),
      sedol: (sedol != null ? sedol.value : this.sedol),
      name: (name != null ? name.value : this.name),
      tickerSymbol:
          (tickerSymbol != null ? tickerSymbol.value : this.tickerSymbol),
      currency: (currency != null ? currency.value : this.currency));
}