removeChild method
Remove a child by its ID.
Implementation
void removeChild(CanvasChildId id) {
if (!_children.containsKey(id)) {
throw _ChildNotFoundException;
}
_spatialHash.remove(_children[id]!.gsPosition.toPoint());
_children.remove(id);
markDirty();
}