parse

fun parse(didUrlString: String): DIDUrl(source)

Parses a DID URL string and returns a DIDUrl object.

Return

A DIDUrl object representing the parsed DID URL.

Parameters

didUrlString

The input DID URL string to parse.

Throws

if the input DID string does not match the expected structure.