Locale enum

A language locale available in the Discord client.

External references:

Inheritance
Available extensions

Values

id → const Locale
const Locale._('id', 'Indonesian', 'Bahasa Indonesia')
da → const Locale
const Locale._('da', 'Danish', 'Dansk')
de → const Locale
const Locale._('de', 'German', 'Deutsch')
enGb → const Locale
const Locale._('en-GB', 'English, UK', 'English, UK')
enUs → const Locale
const Locale._('en-US', 'English, US', 'English, US')
esEs → const Locale
const Locale._('es-ES', 'Spanish', 'Español')
es419 → const Locale
const Locale._('es-419', 'Spanish, LATAM', 'Español, LATAM')
fr → const Locale
const Locale._('fr', 'French', 'Français')
hr → const Locale
const Locale._('hr', 'Croatian', 'Hrvatski')
it → const Locale
const Locale._('it', 'Italian', 'Italiano')
lt → const Locale
const Locale._('lt', 'Lithuanian', 'Lietuviškai')
hu → const Locale
const Locale._('hu', 'Hungarian', 'Magyar')
nl → const Locale
const Locale._('nl', 'Dutch', 'Nederlands')
no → const Locale
const Locale._('no', 'Norwegian', 'Norsk')
pl → const Locale
const Locale._('pl', 'Polish', 'Polski')
ptBr → const Locale
const Locale._('pt-BR', 'Portuguese, Brazilian', 'Português do Brasil')
ro → const Locale
const Locale._('ro', 'Romanian, Romania', 'Română')
fi → const Locale
const Locale._('fi', 'Finnish', 'Suomi')
svSe → const Locale
const Locale._('sv-SE', 'Swedish', 'Svenska')
vi → const Locale
const Locale._('vi', 'Vietnamese', 'Tiếng Việt')
tr → const Locale
const Locale._('tr', 'Turkish', 'Türkçe')
cs → const Locale
const Locale._('cs', 'Czech', 'Čeština')
el → const Locale
const Locale._('el', 'Greek', 'Ελληνικά')
bg → const Locale
const Locale._('bg', 'Bulgarian', 'български')
ru → const Locale
const Locale._('ru', 'Russian', 'Pусский')
uk → const Locale
const Locale._('uk', 'Ukrainian', 'Українська')
hi → const Locale
const Locale._('hi', 'Hindi', 'हिन्दी')
th → const Locale
const Locale._('th', 'Thai', 'ไทย')
zhCn → const Locale
const Locale._('zh-CN', 'Chinese, China', '中文')
ja → const Locale
const Locale._('ja', 'Japanese', '日本語')
zhTw → const Locale
const Locale._('zh-TW', 'Chinese, Taiwan', '繁體中文')
ko → const Locale
const Locale._('ko', 'Korean', '한국어')

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
The identifier for this locale.
final
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
The english name of this locale.
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
nativeName String
The native name of this locale.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<Locale>
A constant List of the values in this enum, in order of their declaration.