String removeChild(input)

Removes a child from this node. If input is a String, a child named with the specified input is removed. If input is a Node, the child that owns that node is removed. The name of the removed node is returned.

Source

String removeChild(dynamic input) {
  String name = super.removeChild(input);
  if (name != null) {
    updateList(name);
  }
  return name;
}