searchChildrenRoute method
Implementation
RixaPage? searchChildrenRoute(PageBase page, String route) {
for (var child in page.children) {
if (child is RixaPage &&
paramsConverter(path: child.fullRoute, params: Get.parameters) ==
route) {
return child;
} else {
RixaPage? tmp = searchChildrenRoute(child, route);
if (tmp != null) {
return tmp;
}
}
}
return null;
}