copyWith method

WebApiModulesIntegrationsStorefrontQuoteRequestPackageItem copyWith({
  1. String? inventoryId,
  2. String? inventoryPackageInventoryId,
  3. double? qty,
})

Implementation

WebApiModulesIntegrationsStorefrontQuoteRequestPackageItem copyWith({
  String? inventoryId,
  String? inventoryPackageInventoryId,
  double? qty,
}) {
  return WebApiModulesIntegrationsStorefrontQuoteRequestPackageItem(
    inventoryId: inventoryId ?? this.inventoryId,
    inventoryPackageInventoryId:
        inventoryPackageInventoryId ?? this.inventoryPackageInventoryId,
    qty: qty ?? this.qty,
  );
}