void visitChildren(SemanticsNodeVisitor visitor)

Visits the immediate children of this node.

This function calls visitor for each child in a pre-order travseral until visitor returns false. Returns true if all the visitor calls returned true, otherwise returns false.

Source

void visitChildren(SemanticsNodeVisitor visitor) {
  if (_children != null) {
    for (SemanticsNode child in _children) {
      if (!visitor(child))
        return;
    }
  }
}