urlFor property

String Function(BaseRequest request)? urlFor
final

Optional override for the URL to record. Defaults to request.url.toString(). Use this if you want to strip query strings, mask secrets in the path, or rewrite the host.

Implementation

final String Function(BaseRequest request)? urlFor;