clear method

void clear()

Clears recorded states.

recorder.clear();
expect(recorder.states, isEmpty);

Implementation

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