LcovNode replace({required String newPath}) => LcovNode(path: newPath) ..linesFound = linesFound ..linesHit = linesHit ..children.addAll(children);