DeepLinkHandlerUriExtension extension

Convenience utilities for working with path segments when handling deep links.

on

Methods

extractIdFromSegments() → String?

Available on Uri, provided by the DeepLinkHandlerUriExtension extension

Helper: extract the last segment as a generic id. Useful for simple '/.../:id' patterns.
extractPathParamsByTemplate(String template) → Map<String, String>

Available on Uri, provided by the DeepLinkHandlerUriExtension extension

Extract named path parameters from a route template.