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