addText method

void addText(
  1. String text
)

Implementation

void addText(String text) {
  if (text.isEmpty) return;
  add(text);
}