removeChild method

void removeChild(
  1. String childId
)

Removes child's id from children.

You should use it only with removeParent on the child's component.

Implementation

void removeChild(String childId) {
  childrenIds.remove(childId);
}