match method
Match route based on request
Implementation
Route? match(Request request) {
var method = request.method;
method = (method == Request.head) ? Request.get : method;
route = _router.match(method, request.url.path);
return route;
}