inverse method
Create the inverse operation for undo
Implementation
@override
EditOperation inverse() {
return CompoundOperation(
operations: operations.reversed.map((op) => op.inverse()).toList(),
selectionBefore: selectionAfter,
selectionAfter: selectionBefore,
);
}