LocalizationService class

Inheritance
  • Object
  • Translations
  • LocalizationService

Properties

hashCode int
The hash code for this object.
no setterinherited
keys Map<String, Map<String, String>>
no setteroverride
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.
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