historyIndex property

num get historyIndex

This read-only property returns the index into #history for the current undoable Transaction. The value is -1 if there is no undoable Transaction to be undone.

Implementation

_i2.num get historyIndex => _i4.getProperty(
      this,
      'historyIndex',
    );
set historyIndex (num value)

Implementation

set historyIndex(_i2.num value) {
  _i4.setProperty(
    this,
    'historyIndex',
    value,
  );
}