routes property

List<RouteBase> get routes

The routes for each of the matches.

Implementation

List<RouteBase> get routes {
  final List<RouteBase> result = <RouteBase>[];
  visitRouteMatches((RouteMatchBase match) {
    result.add(match.route);
    return true;
  });
  return result;
}