clear method

void clear()

Removes every value from this trie.

Implementation

void clear() {
  _root
    ..value = null
    ..children.clear();
}