copyWithWrapped method
Security
copyWithWrapped({
- Wrapped<
String> ? securityId, - Wrapped<
String?> ? isin, - Wrapped<
String?> ? cusip, - Wrapped<
String?> ? sedol, - Wrapped<
String?> ? institutionSecurityId, - Wrapped<
String?> ? institutionId, - Wrapped<
String?> ? proxySecurityId, - Wrapped<
String?> ? name, - Wrapped<
String?> ? tickerSymbol, - Wrapped<
bool?> ? isCashEquivalent, - Wrapped<
String?> ? type, - Wrapped<
double?> ? closePrice, - Wrapped<
DateTime?> ? closePriceAsOf, - Wrapped<
DateTime?> ? updateDatetime, - Wrapped<
String?> ? isoCurrencyCode, - Wrapped<
String?> ? unofficialCurrencyCode,
Implementation
Security copyWithWrapped(
{Wrapped<String>? securityId,
Wrapped<String?>? isin,
Wrapped<String?>? cusip,
Wrapped<String?>? sedol,
Wrapped<String?>? institutionSecurityId,
Wrapped<String?>? institutionId,
Wrapped<String?>? proxySecurityId,
Wrapped<String?>? name,
Wrapped<String?>? tickerSymbol,
Wrapped<bool?>? isCashEquivalent,
Wrapped<String?>? type,
Wrapped<double?>? closePrice,
Wrapped<DateTime?>? closePriceAsOf,
Wrapped<DateTime?>? updateDatetime,
Wrapped<String?>? isoCurrencyCode,
Wrapped<String?>? unofficialCurrencyCode}) {
return Security(
securityId: (securityId != null ? securityId.value : this.securityId),
isin: (isin != null ? isin.value : this.isin),
cusip: (cusip != null ? cusip.value : this.cusip),
sedol: (sedol != null ? sedol.value : this.sedol),
institutionSecurityId: (institutionSecurityId != null
? institutionSecurityId.value
: this.institutionSecurityId),
institutionId:
(institutionId != null ? institutionId.value : this.institutionId),
proxySecurityId: (proxySecurityId != null
? proxySecurityId.value
: this.proxySecurityId),
name: (name != null ? name.value : this.name),
tickerSymbol:
(tickerSymbol != null ? tickerSymbol.value : this.tickerSymbol),
isCashEquivalent: (isCashEquivalent != null
? isCashEquivalent.value
: this.isCashEquivalent),
type: (type != null ? type.value : this.type),
closePrice: (closePrice != null ? closePrice.value : this.closePrice),
closePriceAsOf: (closePriceAsOf != null
? closePriceAsOf.value
: this.closePriceAsOf),
updateDatetime: (updateDatetime != null
? updateDatetime.value
: this.updateDatetime),
isoCurrencyCode: (isoCurrencyCode != null
? isoCurrencyCode.value
: this.isoCurrencyCode),
unofficialCurrencyCode: (unofficialCurrencyCode != null
? unofficialCurrencyCode.value
: this.unofficialCurrencyCode));
}