unregisterRoot method

void unregisterRoot(
  1. Element element
)

Clears the registered root if it is element.

Implementation

void unregisterRoot(Element element) {
  if (identical(_root, element)) {
    _root = null;
  }
}