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