addSubRoute method
Implementation
void addSubRoute({
required String newPath,
required SnippetTemplateEnum template,
}) {
List<RouteBase> subRoutes = routingConfigVN.value.routes;
if (!newPath.endsWith(' missing')) {
subRoutes.add(DynamicPageRoute(path: newPath, template: template));
}
}