clear method

void clear()

Implementation

void clear() {
  rootNode?.deleteAllChild();
  _nodeMap.clear();
}