apply method
Apply this delta (redo). Replaces affected nodes with their post-mutation state and restores the post-mutation cursor.
Implementation
@override
void apply(FluentDocument document) {
_replaceNodes(document, changes.map((c) => (c.index, c.newJson)));
newCursor.restore(document);
}