getOutcomesArray method

List<NodeInput> getOutcomesArray(
  1. String itemId
)

Implementation

List<NodeInput> getOutcomesArray(String itemId) {
  List<String> outcomes = this.outcomes(itemId);
  if (outcomes.length == 0) return [];
  return outcomes.map((String id) {
    return this.node(id);
  }).toList(growable: true);
}