SimpleLocalizations constructor
SimpleLocalizations(
- Locale currentLocale
Default constructor
Implementation
SimpleLocalizations(Locale currentLocale) {
this.currentLocale = (suportedLocales.contains(currentLocale)
? currentLocale
: defaultLocale);
}