boot method

Future<void> boot()
  • set up Nations controller

Implementation

Future<void> boot() async {
  currentLocale = localeToUse(
    fallback: AppLang.firstTimeLocale,
    supportedLocales: AppLang.supportedLocales,
    savedKey: Prefs.getStringOrEmpty(_kPrefsKey),
    firstTimeLocale: AppLang.firstTimeLocale,
  );
  await load(currentLocale!);
}