removeChild method
Removes the child
.
Implementation
void removeChild(GgRouteTreeNode child) {
if (identical(_children[child.name], child)) {
_unlistenNode(child);
child.dispose();
_reportChange();
} else {
throw ArgumentError(
'The child to be remove is not a child of this node.',
);
}
}