unmount method

void unmount()

Implementation

void unmount() {
  if (!_mounted) return;

  renderer.unmount();
  rootComponent = null;
  _currentTree = null;
  _mounted = false;
}