deleteRoot method
Implementation
void deleteRoot(int id, [RenderTree? renderTree]) {
final _renderTree = renderTree ?? _controllerRegistry.getRenderTree(id);
if (_renderTree != null) {
_renderTree.clear();
_controllerRegistry.removeRenderTree(_renderTree);
}
}