class WordCloudTap { Map wordtap = {}; void addWordtap(String word, Function func) { wordtap[word] = func; } Map getWordTaps() { return wordtap; } }