copyWithWrapped method

WebApiModulesWarehouseCheckOutPickupLocation copyWithWrapped({
  1. Wrapped<int?>? pickupLocationId,
  2. Wrapped<String?>? description,
})

Implementation

WebApiModulesWarehouseCheckOutPickupLocation copyWithWrapped(
    {Wrapped<int?>? pickupLocationId, Wrapped<String?>? description}) {
  return WebApiModulesWarehouseCheckOutPickupLocation(
      pickupLocationId: (pickupLocationId != null
          ? pickupLocationId.value
          : this.pickupLocationId),
      description:
          (description != null ? description.value : this.description));
}