getAllWords method

List<String> getAllWords (String words)

Returns all words in the Trie.

Implementation

List<String> getAllWords() {
  return getAllWordsWithPrefix('');
}