index property
Implementation
int get index => _index;
Implementation
set index(int value) {
if (value == _index) return;
if (value < 0 || value >= history.length)
throw IndexError.withLength(value, history.length, indexable: history, name: 'index');
setIndexInternal(value);
}