clear method

void clear()

Clears all recorded events.

Implementation

void clear() {
  _changes.clear();
  _errors.clear();
}