Returns the URL of the resource. Only applies to 'photo' resources.
\Drupal\Core\Url|null The resource URL, if it has one.
public function getUrl() { if ($this->url) { return Url::fromUri($this->url) ->setAbsolute(); } return NULL; }