copyWith method
WebApiModulesWarehouseCheckInCheckInItemsRequest
copyWith({
- String? contractId,
- String? containerId,
- String? containerItemId,
- String? containerOutContractId,
- String? dealId,
- String? departmentId,
- String? locationId,
- String? moduleType,
- String? contractType,
- String? userWarehouseId,
- bool? forceNewSession,
- List<
WebApiModulesWarehouseCheckInCheckInItem> ? items,
Implementation
WebApiModulesWarehouseCheckInCheckInItemsRequest copyWith(
{String? contractId,
String? containerId,
String? containerItemId,
String? containerOutContractId,
String? dealId,
String? departmentId,
String? locationId,
String? moduleType,
String? contractType,
String? userWarehouseId,
bool? forceNewSession,
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,
locationId: locationId ?? this.locationId,
moduleType: moduleType ?? this.moduleType,
contractType: contractType ?? this.contractType,
userWarehouseId: userWarehouseId ?? this.userWarehouseId,
forceNewSession: forceNewSession ?? this.forceNewSession,
items: items ?? this.items);
}