copyWith method

Implementation

WebApiModulesWarehouseCheckInCheckInItemsResponse copyWith({
  WebApiModulesWarehouseCheckInCheckInSessionInfo? sessionInfo,
  int? status,
  String? message,
  bool? forceNewSession,
  bool? itemInContainer,
  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,
    itemInContainer: itemInContainer ?? this.itemInContainer,
    items: items ?? this.items,
    orders: orders ?? this.orders,
    suspendedSessions: suspendedSessions ?? this.suspendedSessions,
  );
}