insert method

bool insert(
  1. String text
)

Inserts text, returning whether any text was inserted.

Implementation

bool insert(String text) => insertText(text) > 0;