foundInCurrentRoutes method

bool foundInCurrentRoutes(
  1. String path
)

Implementation

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