RouteMatch typedef
the route for a request, and its params (null for a route with none). the params are not put on the shared RouteData, so no copy of it is made per request.
Implementation
typedef RouteMatch = ({RouteData route, Map<String, dynamic>? params});