removeChild method

void removeChild(
  1. Node child
)

Implementation

void removeChild(Node child) {
  if (_children.remove(child)) {
    child._parent = null;
    child._markWorldDirty();
  }
}