addChild method

BulletedListItem addChild(
  1. Block block
)

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

Implementation

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