getAllRoutes method

List<Route> getAllRoutes()

获取当前pushlist所有路由

Implementation

List<Route> getAllRoutes() {
  List<Route> lst = [];
  _routeMap.forEach((key, value) {
    lst.add(value);
  });
  return lst;
}