getCurrentLocale method
Implementation
IntlLocale? getCurrentLocale() {
if (_currentLocale != null) return _currentLocale;
var locale = _IntlDefaultLocale.locale;
if (locale != null) {
return IntlLocale.code(locale);
}
return IntlLocale.code('en');
}