isLoopEdge method

bool isLoopEdge(
  1. String nodeId,
  2. String outcomeId
)

Implementation

bool isLoopEdge(String nodeId, String outcomeId) {
  if (!this.loopsByNodeIdMap.containsKey(nodeId)) {
    return false;
  }
  return this.loopsByNodeIdMap[nodeId]?.contains(outcomeId) ?? false;
}