code: public function updateFlow($process_id, $flow_id, $flow_update_item)
      {
          list($response) = $this->updateFlowWithHttpInfo($process_id, $flow_id, $flow_update_item);
          return $response;
      }
docs: Operation updateFlow
  
  
  
  @param string $process_id ID of the process to retrieve (required)
  @param string $flow_id ID of the flow to retrieve (required)
  @param \ProcessMaker\PMIO\Model\FlowUpdateItem $flow_update_item Flow object to edit (required)
  @return \ProcessMaker\PMIO\Model\FlowItem
  @throws \ProcessMaker\PMIO\ApiException on non-2xx response