Locale enum Null safety

Inheritance

Constructors

Locale(String locale)
const

Values

da → const Locale
Locale('da')
de → const Locale
Locale('de')
enGB → const Locale
Locale('en-GB')
enUS → const Locale
Locale('en-US')
esES → const Locale
Locale('es-ES')
fr → const Locale
Locale('fr')
hr → const Locale
Locale('hr')
it → const Locale
Locale('it')
lt → const Locale
Locale('lt')
hu → const Locale
Locale('hu')
nl → const Locale
Locale('nl')
no → const Locale
Locale('no')
pl → const Locale
Locale('pl')
ptBR → const Locale
Locale('pt-BR')
ro → const Locale
Locale('ro')
fi → const Locale
Locale('fi')
svSE → const Locale
Locale('sv-SE')
vi → const Locale
Locale('vi')
tr → const Locale
Locale('tr')
cs → const Locale
Locale('cs')
el → const Locale
Locale('el')
bg → const Locale
Locale('bg')
ru → const Locale
Locale('ru')
uk → const Locale
Locale('uk')
hi → const Locale
Locale('hi')
th → const Locale
Locale('th')
zhCN → const Locale
Locale('zh-CN')
ja → const Locale
Locale('ja')
zhTW → const Locale
Locale('zh-TW')
ko → const Locale
Locale('ko')

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
locale String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[da, de, enGB, enUS, esES, fr, hr, it, lt, hu, nl, no, pl, ptBR, ro, fi, svSE, vi, tr, cs, el, bg, ru, uk, hi, th, zhCN, ja, zhTW, ko]