addWord method

dynamic addWord (String word)

Adds one word to the Trie

Implementation

addWord(String word) {
  _addWordNode(word, _head);
}