createDeepLinkIfMatching

fun Set<DeepLinkHandler>.createDeepLinkIfMatching(uri: ERROR CLASS: Symbol not found for Uri, defaultPrefixes: Set<DeepLinkHandler.Prefix>): DeepLink?

Checks if the given uri matches one of the DeepLinkHandler in the Set and if yes creates a DeepLink. Otherwise null is returned.

defaultPrefixes will be used as base url if DeepLinkHandler.prefixes is empty.