code: public function getWebsiteName()
      {
          $websites = $this->storeManager->getWebsites();
  
          $websiteName = 'Not set.';
  
          foreach ($websites as $website) {
              if ($website->getIsDefault()) {
                  $websiteName = $website->getName();
              }
          }
  
          return $websiteName;
      }
docs: Returns Website name
  
  @return string $websiteName