length property

int get length

The number of recorded changes in the undo stack.

Implementation

int get length {
  _version.value;
  return _undoStack.length;
}