insert method

void insert(
  1. String text, {
  2. Attributes? attributes,
})

Insert operations have an insert key defined. A String value represents inserting text.

Implementation

void insert(String text, {Attributes? attributes}) =>
    add(TextInsert(text, attributes: attributes));