baseUrl property

Uri? get baseUrl

The URL where this publication is served, computed from the Link with self relation.

Implementation

Uri? get baseUrl => links
    .firstWithRel("self")
    ?.let((it) => it.href.toUrlOrNull()?.removeLastComponent());