visitIfRule method Null safety

void visitIfRule(
  1. IfRule node
)
override

Implementation

void visitIfRule(IfRule node) {
  for (var clause in node.clauses) {
    for (var child in clause.children) {
      child.accept(this);
    }
  }

  node.lastClause.andThen((lastClause) {
    for (var child in lastClause.children) {
      child.accept(this);
    }
  });
}