clear method

  1. @override
void clear()
override

Clears all recorded events.

Tracers that do not record events will do nothing.

Implementation

@override
void clear() {
  _events.clear();
}