SimpleLocalizations constructor

SimpleLocalizations(
  1. Locale currentLocale
)

Default constructor

Implementation

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