roots method

List<NodeInput> roots()

Implementation

List<NodeInput> roots() {
  return this.list.where((NodeInput node) {
    return this.isRoot(node.id);
  }).toList();
}