initialize method

Future initialize()

Implementation

Future initialize() async {
  await _loadAll();
  await _setMainLanguage();
  await _loadCurrentLanguage();
  AppTranslations.loadTranslations(all.map((language) => language.isoCode).toList());
}