Returns the same relative URL as UrlBuilder.url.
Returns the URL as a platform URL object using the supplied origin.
Returns the URL as a relative string by default.
Supplying an origin returns an absolute URL string for the same dashboard route.
Optionaloptions: { origin?: string }
Base class for immutable URL grammars.