undo method

Tuple2 undo(
  1. Document doc
)

Implementation

Tuple2 undo(Document doc) {
  return _change(doc, stack.undo, stack.redo);
}