reportMatchedRoute function
Fills the slot request carries, when it carries one.
Implementation
void reportMatchedRoute(Request request, String route) {
final slot = request.context[matchedRouteSlotKey];
if (slot is MatchedRouteSlot) slot.route = route;
}