insert method
Implementation
void insert(int index, String text, {Map<String, dynamic>? attributes}) {
doc.sendChanges({
"documentID": doc.id,
"changes": [
{
"nodeID": parent!.id,
"insertText": {"index": index, "text": text, "attributes": attributes ?? {}},
},
],
});
}