add method

void add(
  1. QuillContainer<Node?> node
)
inherited

Adds node to the end of this container children list.

Implementation

void add(T node) {
  assert(node?.parent == null);
  node?.parent = this;
  _children.add(node as Node);
  clearLengthCache();
}