I18nUtils constructor
I18nUtils([
- BuildContext? context,
- LanguageEnum? language
Implementation
factory I18nUtils( [BuildContext? context, LanguageEnum? language]) {
if (language != null) {
_instance = I18nUtils._internal(language);
} else {
_instance ??= I18nUtils._internal( language);
}
return _instance!;
}