mergeWith method
Merge this operation with another
Implementation
@override
EditOperation mergeWith(EditOperation other) {
if (other is! InsertOperation) return this;
return InsertOperation(
offset: offset,
text: text + other.text,
selectionBefore: selectionBefore,
selectionAfter: other.selectionAfter,
timestamp: other.timestamp,
);
}