getAllRoutes method
Get routing list of Server Here you can get all routing of server that added to server Returns a list of WebRoute instances.
Implementation
Future<List<WebRoute>> getAllRoutes(WebRequest rq) async {
List<WebRoute> routing = [];
for (var webRoute in _webRoutes) {
routing.addAll(await webRoute(rq));
}
return routing;
}