hasRouteMatch method

bool hasRouteMatch(
  1. String path
)

Implementation

bool hasRouteMatch(String path) {
  final match =
      routeInformationParser.configuration.findMatch(Uri(path: path));
  if (match.matches.isNotEmpty) return true;
  return false;
}