insertAt method

  1. @override
void insertAt(
  1. int index,
  2. Node? child
)
override

Inserts child node at index.

Implementation

@override
void insertAt(int index, Node? child) {
  if (isNodeElement) {
    nodeAsElement!.nodes.insert(index, child!);
  }
}