nextUndoRef method

int nextUndoRef()

The next position in this invocation's undo chain — the undoRef of an applied mutation. One context serves one invocation, so the chain is the context's.

Implementation

int nextUndoRef() => _undoChain++;