copyWithWrapped method

Implementation

WebApiModulesIntegrationsStorefrontQuoteRequestItem copyWithWrapped({
  Wrapped<String>? inventoryId,
  Wrapped<String>? webCatalogId,
  Wrapped<double>? qty,
  Wrapped<List<WebApiModulesIntegrationsStorefrontQuoteRequestPackageItem>?>?
  packageItems,
}) {
  return WebApiModulesIntegrationsStorefrontQuoteRequestItem(
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    webCatalogId: (webCatalogId != null
        ? webCatalogId.value
        : this.webCatalogId),
    qty: (qty != null ? qty.value : this.qty),
    packageItems: (packageItems != null
        ? packageItems.value
        : this.packageItems),
  );
}