add method

  1. @Deprecated('Use `addText(Block)` instead')
Heading add(
  1. Text text
)

Add a new text to the paragraph content and returns this instance.

Implementation

@Deprecated('Use `addText(Block)` instead')
Heading add(Text text) {
  this._content.add(text);
  return this;
}