clearHistory method

void clearHistory()

Implementation

void clearHistory() => _history.clear();