copyWithWrapped method
WebApiModulesSettingsInventorySettingsStorefrontOnlineCatalogItem
copyWithWrapped({
- Wrapped<
int?> ? onlineCatalogItemId, - Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? iCode, - Wrapped<
String?> ? description, - Wrapped<
bool?> ? availableOnline, - Wrapped<
String?> ? thumbnail, - Wrapped<
String?> ? originalShow, - Wrapped<
double?> ? ownedQuantityPercent, - Wrapped<
double?> ? ownedQuantity, - Wrapped<
double?> ? owned,
Implementation
WebApiModulesSettingsInventorySettingsStorefrontOnlineCatalogItem
copyWithWrapped({
Wrapped<int?>? onlineCatalogItemId,
Wrapped<String?>? inventoryId,
Wrapped<String?>? iCode,
Wrapped<String?>? description,
Wrapped<bool?>? availableOnline,
Wrapped<String?>? thumbnail,
Wrapped<String?>? originalShow,
Wrapped<double?>? ownedQuantityPercent,
Wrapped<double?>? ownedQuantity,
Wrapped<double?>? owned,
}) {
return WebApiModulesSettingsInventorySettingsStorefrontOnlineCatalogItem(
onlineCatalogItemId: (onlineCatalogItemId != null
? onlineCatalogItemId.value
: this.onlineCatalogItemId),
inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
iCode: (iCode != null ? iCode.value : this.iCode),
description: (description != null ? description.value : this.description),
availableOnline: (availableOnline != null
? availableOnline.value
: this.availableOnline),
thumbnail: (thumbnail != null ? thumbnail.value : this.thumbnail),
originalShow: (originalShow != null
? originalShow.value
: this.originalShow),
ownedQuantityPercent: (ownedQuantityPercent != null
? ownedQuantityPercent.value
: this.ownedQuantityPercent),
ownedQuantity: (ownedQuantity != null
? ownedQuantity.value
: this.ownedQuantity),
owned: (owned != null ? owned.value : this.owned),
);
}