removeChildNamed method

void removeChildNamed(
  1. String name
)

Removes the first child element named name (no-op if none).

Any LSLXmlNode referring into the removed subtree becomes invalid.

Implementation

void removeChildNamed(String name) {
  _withUtf8(name, (n) => lsl_remove_child_n(xmlPtr, n));
}