addChild method

Toggle addChild(
  1. Block block
)

Add a new block to the children and returns this instance.

Implementation

Toggle addChild(Block block) {
  this._children.add(block);
  return this;
}