buildPageRoutesStack method
Finds matches of path
then returns a list of route-able entities
Implementation
List<PageRouteInfo>? buildPageRoutesStack(String? path,
{bool includePrefixMatches = true}) {
if (path == null) return null;
return matcher
.match(path, includePrefixMatches: includePrefixMatches)
?.map((m) => m.toPageRouteInfo())
.toList();
}