copyWithWrapped method

WebApiModulesInventoryInventoryInventoryWarehouseSpecificPackageRequest copyWithWrapped({
  1. Wrapped<String?>? inventoryId,
  2. Wrapped<String?>? warehouseId,
  3. Wrapped<bool?>? isWarehouseSpecific,
})

Implementation

WebApiModulesInventoryInventoryInventoryWarehouseSpecificPackageRequest
copyWithWrapped({
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? warehouseId,
  Wrapped<bool?>? isWarehouseSpecific,
}) {
  return WebApiModulesInventoryInventoryInventoryWarehouseSpecificPackageRequest(
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    isWarehouseSpecific: (isWarehouseSpecific != null
        ? isWarehouseSpecific.value
        : this.isWarehouseSpecific),
  );
}