removeViewModel method

void removeViewModel(
  1. RenderViewModel child
)

Implementation

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