remove method Null safety

void remove(
  1. ChildType child
)

Remove this child from the child list.

Requires the child to be present in the child list.

Implementation

void remove(ChildType child) {
  _removeFromChildList(child);
  dropChild(child);
}