List<String> loops(String id) { return this.loopsByNodeIdMap[id]?.map((relation) => relation['outcome']!).toList() ?? []; }