undo method
void
undo()
Implementation
void undo() {
if (_currentHistoryIndex > 0) {
_currentHistoryIndex--;
_setValue(_history[_currentHistoryIndex]);
}
}
void undo() {
if (_currentHistoryIndex > 0) {
_currentHistoryIndex--;
_setValue(_history[_currentHistoryIndex]);
}
}