hasChild method

bool hasChild({
  1. required String name,
})

Returns true if the node has a child with name.

Implementation

bool hasChild({required String name}) {
  return _children.containsKey(name);
}