addText method

void addText(
  1. EditorText text
)

Add text to texts.

Implementation

void addText(EditorText text) {
  texts.add(text);
}