code: def addWord(self, word: str) -> None:
      """
      Adds a word into the data structure.
      """
      node = self.trie
  
      for ch in word:
          if not ch in node:
              node[ch] = {}
          node = node[ch]
      node["$"] = True
  
label_desc: Use image node_id 2 for calling the WordDictionary obj's underlying member method code with example usage: obj.addWord(word) without return types