clearHistory method

void clearHistory()

Clears all undo and redo history.

Implementation

void clearHistory() {
  _history.clear();
}