searchPage method
Implementation
RixaPage? searchPage(String name) {
for (var page in _pages) {
if (page is RixaPage && name == page.name) {
return page;
} else {
RixaPage? tmp = _searchPageInChildren(page.children, name);
if (tmp != null) {
return tmp;
}
}
}
return null;
}