foundInTotalRoutes method
Implementation
bool foundInTotalRoutes(String path) {
bool _findRoute = false;
for (int i = 0; i < routes.keys.length; i++) {
final key = routes.keys.elementAt(i);
if (key == path) {
if (foundInCurrentRoutes(path) && key == routes.keys.first) {
_findRoute = true;
break;
}
_findRoute = true;
break;
}
}
return _findRoute;
}