add method

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

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

Implementation

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