visitChildren method Null safety

  1. @protected
void visitChildren(
  1. List<Statement> children
)

Visits each child in children.

The default implementation of the visit methods for all ParentStatements call this.

Implementation

@protected
void visitChildren(List<Statement> children) {
  for (var child in children) {
    child.accept(this);
  }
}