removeViewModel method
Implementation
void removeViewModel(RenderViewModel child) {
child.parent = null;
children.remove(child);
_childrenMap.remove(child.id);
_sortedIdList.remove(child.id);
}
void removeViewModel(RenderViewModel child) {
child.parent = null;
children.remove(child);
_childrenMap.remove(child.id);
_sortedIdList.remove(child.id);
}