copyWith method

WebApiModulesWarehouseCheckInCheckInItemsRequest copyWith({
  1. String? contractId,
  2. String? containerId,
  3. String? containerItemId,
  4. String? containerOutContractId,
  5. String? dealId,
  6. String? departmentId,
  7. String? spaceId,
  8. String? locationId,
  9. String? moduleType,
  10. String? contractType,
  11. String? userWarehouseId,
  12. bool? forceNewSession,
  13. bool? forceCheckInItemInContainer,
  14. List<WebApiModulesWarehouseCheckInCheckInItem>? items,
})

Implementation

WebApiModulesWarehouseCheckInCheckInItemsRequest copyWith({
  String? contractId,
  String? containerId,
  String? containerItemId,
  String? containerOutContractId,
  String? dealId,
  String? departmentId,
  String? spaceId,
  String? locationId,
  String? moduleType,
  String? contractType,
  String? userWarehouseId,
  bool? forceNewSession,
  bool? forceCheckInItemInContainer,
  List<WebApiModulesWarehouseCheckInCheckInItem>? items,
}) {
  return WebApiModulesWarehouseCheckInCheckInItemsRequest(
    contractId: contractId ?? this.contractId,
    containerId: containerId ?? this.containerId,
    containerItemId: containerItemId ?? this.containerItemId,
    containerOutContractId:
        containerOutContractId ?? this.containerOutContractId,
    dealId: dealId ?? this.dealId,
    departmentId: departmentId ?? this.departmentId,
    spaceId: spaceId ?? this.spaceId,
    locationId: locationId ?? this.locationId,
    moduleType: moduleType ?? this.moduleType,
    contractType: contractType ?? this.contractType,
    userWarehouseId: userWarehouseId ?? this.userWarehouseId,
    forceNewSession: forceNewSession ?? this.forceNewSession,
    forceCheckInItemInContainer:
        forceCheckInItemInContainer ?? this.forceCheckInItemInContainer,
    items: items ?? this.items,
  );
}