Creates a compound term with name and list of arguments.
name
list
factory(String name, Iterable<Node> list) => Term._(name, list.toList(growable: false));