buildPageRoute method
Implementation
PageRouteInfo? buildPageRoute(String? path,
{bool includePrefixMatches = true}) {
if (path == null) return null;
return matcher
.match(path, includePrefixMatches: includePrefixMatches)
?.firstOrNull
?.toPageRouteInfo();
}