mountedParams property

Map<String, String> mountedParams

Get URL parameters captured by the Router.mount. They can be accessed from inside the mounted routes.

Implementation

Map<String, String> get mountedParams {
  final p = request._request.context['dart_frog/mountedParams'];
  if (p is Map<String, String>) {
    return UnmodifiableMapView(p);
  }
  return _emptyParams;
}