href property

  1. @override
Uri get href
override

The href pointing to the resource.

Can be a relative or absolute URI.

Implementation

@override
Uri get href {
  final baseUri = _thingDescription.base;

  if (baseUri != null) {
    return baseUri.resolveUri(_form.href);
  }

  return _form.href;
}