addRoutes method

void addRoutes(
  1. List<GetPage> routes
)

Implementation

void addRoutes(List<GetPage> routes) {
  for (var route in routes) {
    addRoute(route);
  }
}