setLocaleRaw method

E setLocaleRaw(
  1. String rawLocale
)

Sets locale using string tag (e.g. en_US, de-DE, fr) Fallbacks to base locale. Returns the locale which has been set.

Implementation

E setLocaleRaw(String rawLocale) {
  final E locale = utils.parse(rawLocale);
  return setLocale(locale);
}