Insert text at current position.
text
void insert(String text, [Map<String, dynamic>? attributes]) { assert(text != null); if (text.isEmpty) return; // no-op push(Operation.insert(text, attributes)); }