redo method

bool redo()

Re-applies the most recent undone state change.

Implementation

bool redo() {
  if (_redoStack.isEmpty) return false;
  final change = _redoStack.removeLast();
  _undoStack.add(change);
  _applyRestore(change, isUndo: false);
  LevitReactiveMiddleware.runWithoutMiddleware(() => _version.value++);
  return true;
}