TogglesTrait.ToggleSynonyms

class TogglesTrait.ToggleSynonyms


Synonyms of the toggle in a given language.

Summary

Public constructors

ToggleSynonyms(language: String, toggleSynonyms: List<String>)

Creates the ToggleSynonyms class.

Public properties

String

The language code in ISO 639-1.

List<String>

Synonyms of the toggle where the first string in this list is used as the canonical name of the level in that language.

Public constructors

ToggleSynonyms

ToggleSynonyms(
    language: String = "",
    toggleSynonyms: List<String> = emptyList()
)

Creates the ToggleSynonyms class.

Public properties

language

val languageString

The language code in ISO 639-1.

toggleSynonyms

val toggleSynonymsList<String>

Synonyms of the toggle where the first string in this list is used as the canonical name of the level in that language.