I18nUtils constructor

I18nUtils([
  1. BuildContext? context,
  2. LanguageEnum? language
])

Implementation

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