isLoopEdge method
Implementation
bool isLoopEdge(String nodeId, String outcomeId) {
if (!this.loopsByNodeIdMap.containsKey(nodeId)) {
return false;
}
return this.loopsByNodeIdMap[nodeId]?.any((relation) => relation['outcome'] == outcomeId) ?? false;
}