copyWithWrapped method

WebApiModulesWarehouseCheckInSessionSettingsResponse copyWithWrapped({
  1. Wrapped<String?>? dealId,
  2. Wrapped<String?>? departmentId,
  3. Wrapped<String?>? locationId,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<bool?>? hasPendingExchange,
  6. Wrapped<bool?>? hasException,
  7. Wrapped<List<WebApiModulesWarehouseCheckInCheckInOrder>?>? orders,
})

Implementation

WebApiModulesWarehouseCheckInSessionSettingsResponse copyWithWrapped(
    {Wrapped<String?>? dealId,
    Wrapped<String?>? departmentId,
    Wrapped<String?>? locationId,
    Wrapped<String?>? warehouseId,
    Wrapped<bool?>? hasPendingExchange,
    Wrapped<bool?>? hasException,
    Wrapped<List<WebApiModulesWarehouseCheckInCheckInOrder>?>? orders}) {
  return WebApiModulesWarehouseCheckInSessionSettingsResponse(
      dealId: (dealId != null ? dealId.value : this.dealId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      locationId: (locationId != null ? locationId.value : this.locationId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      hasPendingExchange: (hasPendingExchange != null
          ? hasPendingExchange.value
          : this.hasPendingExchange),
      hasException:
          (hasException != null ? hasException.value : this.hasException),
      orders: (orders != null ? orders.value : this.orders));
}