Finds a matching child node.
RouteNode? findMatchingChild(String name) { return children.firstWhereOrNull((node) => node.matches(name)); }