copyWithWrapped method
Implementation
WebApiModulesWarehouseContractSessionRequest copyWithWrapped({
Wrapped<String?>? orderId,
Wrapped<String?>? dealId,
Wrapped<String?>? departmentId,
Wrapped<String?>? locationId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? contractType,
}) {
return WebApiModulesWarehouseContractSessionRequest(
orderId: (orderId != null ? orderId.value : this.orderId),
dealId: (dealId != null ? dealId.value : this.dealId),
departmentId: (departmentId != null
? departmentId.value
: this.departmentId),
locationId: (locationId != null ? locationId.value : this.locationId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
contractType: (contractType != null
? contractType.value
: this.contractType),
);
}