clear method

void clear()

Implementation

void clear() {
  events.clear();
}