LocalizationService class
- Inheritance
-
- Object
- Translations
- LocalizationService
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getDateLocale(
Language language) → DateLocale -
getInstance(
) → LocalizationService -
getLanguageFromConfig(
PupauConfig config) → Language -
getLocaleFromConfig(
PupauConfig? config) → Locale? - Get locale directly from config language string Returns the locale for the language specified in config, or 'en' (US) as default
-
getLocaleFromLanguage(
Language language) → Locale