undo method

bool undo()

Restores the previous snapshot. Returns false when unavailable, disposed or called from a cancelled intent. Real changes notify JObserver.

Implementation

bool undo() => _restore(_undoStack, _redoStack);