copyWith method

Implementation

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