I18Next constructor

I18Next(
  1. Locale _locale,
  2. TranslationLoader? translationLoader, {
  3. InterpolationOptions? interpolationOptions,
})

Implementation

I18Next(
  this._locale,
  TranslationLoader? translationLoader, {
  InterpolationOptions? interpolationOptions,
})  : this._interpolationOptions =
          interpolationOptions ?? InterpolationOptions(),
      this._translationLoader = translationLoader ?? FileTranslationLoader() {
  this._loadingStream.add(LoadingStatus.notLoaded);
}