foundInCurrentRoutes method
Implementation
bool foundInCurrentRoutes(String path) {
bool foundMatching = false;
for (RouteConfig element in _history) {
if (element.currentPage!.path.regex.hasMatch(path)) {
foundMatching = true;
}
}
return foundMatching;
}