clear method
void
clear()
Clears the recorded list without stopping the recorder.
The egress stays open and the source cell remains observed; subsequent
pulses are appended to the now-empty list. Use this when a test
wants to isolate assertions within a single recorder, or to reset
state after an initState-like warm-up.
See Also:
- stop — releases the egress entirely.
Implementation
void clear() => _pulses.clear();