load method

Future<bool> load()

Used to load the locale translation file

Implementation

Future<bool> load() async {
  this._loadingStream.add(LoadingStatus.loading);
  decodedMap = await translationLoader!.load();
  _localeStream.add(locale);
  this._loadingStream.add(LoadingStatus.loaded);
  return true;
}