code: public function getUrl()
      {
          if (is_null($this->_url) && isset($this->object)) {
              $this->_url = Url::to($this->object->getUrl('view', [], false));
          }
  
          return $this->_url;
      }
docs: Get url.
  
  @return [[@doctodo return_type:getUrl]] [[@doctodo return_description:getUrl]]