add method

  1. @override
S add(
  1. E event
)
override

Implementation

@override
S add(E event) {
  _removeEventsAfterTheCursor();
  _addAndMoveCursor(event);
  return _snapshot = snapshot.rebuild(event.applyTo);
}