visit method

dynamic visit(
  1. LcovNode root
)

Implementation

visit(LcovNode root) {
  insideVisit(LcovNode node, int depth) {
    visitor(node, depth);
    depth++;
    for (var child in node.children.values) {
      insideVisit(child, depth);
    }
  }

  insideVisit(root, 0);
}