addChildren method

void addChildren(
  1. ElementData elementData
)

Implementation

void addChildren(ElementData elementData) {
  if (this.children == null) {
    this.children = [];
  }
  this.children!.add(elementData);
}