loadProfile method
Implementation
Future<void> loadProfile() async {
logger.d("loadProfile");
int langSize = allLanguageProfiles.length;
int index = 0;
for (final languageProfile in allLanguageProfiles) {
LangProfile profile = LangProfile(
name: languageProfile.name,
freq: languageProfile.freq,
nWords: languageProfile.nWords);
addProfile(profile, index, langSize);
index += 1;
}
}