Adds a list of routes to the route tree.
void addRoutes<T>(List<GetPage<T>> getPages) { for (final route in getPages) { addRoute(route); } }