Term constructor

Term(
  1. String name,
  2. Iterable<Node> list
)

Creates a compound term with name and list of arguments.

Implementation

factory(String name, Iterable<Node> list) =>
    Term._(name, list.toList(growable: false));