clear method

void clear()

Forgets everything recorded so far.

Implementation

void clear() => _states.clear();