Adds a Route to the server, together with a path that defines how calls are routed.
void addRoute(Route route, String matchPath) { route._matchPath = matchPath; routes.add(route); }