code: def top_level_domain(self, tld_type: Optional[TLDType] = None) -> str:
          
          key = self._validate_enum(item=tld_type, enum=TLDType)
          return self.random.choice(TLD[key])
docs: Return random top level domain.
  
          :param tld_type: Enum object DomainType
          :return: Top level domain.
          :raises NonEnumerableError: if tld_type not in DomainType.