clearNodes method
void
clearNodes()
Clear the children list.
Implementation
void clearNodes() {
if (isEmptyContent) return;
for (var node in _content!) {
node.parent = null;
}
_content!.clear();
}
Clear the children list.
void clearNodes() {
if (isEmptyContent) return;
for (var node in _content!) {
node.parent = null;
}
_content!.clear();
}