buildPageRoute method
Finds match of path
then returns a route-able entity
Implementation
PageRouteInfo? buildPageRoute(String? path, {bool includePrefixMatches = true}) {
if (path == null) return null;
return matcher.match(path, includePrefixMatches: includePrefixMatches)?.firstOrNull?.toPageRouteInfo();
}