copyWithWrapped method

Implementation

WebApiModulesWarehouseCheckInCheckInItemsResponse copyWithWrapped(
    {Wrapped<WebApiModulesWarehouseCheckInCheckInSessionInfo?>? sessionInfo,
    Wrapped<int?>? status,
    Wrapped<String?>? message,
    Wrapped<bool?>? forceNewSession,
    Wrapped<List<WebApiModulesWarehouseCheckInCheckInItem>?>? items,
    Wrapped<WebApiModulesWarehouseCheckInCheckInAddOrderResponse?>? orders,
    Wrapped<List<WebApiModulesWarehouseCheckInSuspendedSession>?>?
        suspendedSessions}) {
  return WebApiModulesWarehouseCheckInCheckInItemsResponse(
      sessionInfo:
          (sessionInfo != null ? sessionInfo.value : this.sessionInfo),
      status: (status != null ? status.value : this.status),
      message: (message != null ? message.value : this.message),
      forceNewSession: (forceNewSession != null
          ? forceNewSession.value
          : this.forceNewSession),
      items: (items != null ? items.value : this.items),
      orders: (orders != null ? orders.value : this.orders),
      suspendedSessions: (suspendedSessions != null
          ? suspendedSessions.value
          : this.suspendedSessions));
}