Google is committed to advancing racial equity for Black communities. See how.

missingChild method

*[<Null safety>](https://dart.dev/null-safety)*

void missingChild (String name)

Asserts that this Node does not have the named child.

Implementation

void missingChild(String name) {
  if (!_valid) {
    return;
  }

  int next = _parent._findNamedValue(name, _index);
  if (next != 0) {
    _parent._addError('Found $name which was expected to be missing');
  }
}