code: public function getDefaultLocale(): Locale
      {
          foreach ($this->locales as $locale) {
              if ($locale->isDefault()) {
                  return $locale;
              }
          }
  
          throw new \RuntimeException('No locale marked as default exists in this environment.');
      }
docs: Returns the default locale for this space.
  
  @throws \RuntimeException
  
  @return Locale