I18nUtils constructor

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

Implementation

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