SemanticsNode.root({SemanticsActionHandler handler, SemanticsOwner owner })

Creates a semantic node to represent the root of the semantics tree.

The root node is assigned an identifier of zero.

Source

SemanticsNode.root({
  SemanticsActionHandler handler,
  SemanticsOwner owner
}) : id = 0,
     _actionHandler = handler {
  attach(owner);
}