addRoutes method

void addRoutes(
  1. List<GetPage> getPages
)

Implementation

void addRoutes(List<GetPage> getPages) {
  for (final route in getPages) {
    addRoute(route);
  }
}