loadWordsRules static method
Implementation
static void loadWordsRules() async {
Debug().info("Loading RANDOM_WORDS_RULE");
RANDOM_WORDS = <String>{};
for (String word
in (await rootBundle.loadString("assets/rules/words.txt"))
.split("\n")) {
RANDOM_WORDS.add(word.toLowerCase().trim());
}
}