clear method
void
clear()
Forgets the records captured so far in this test, for example to check only what a second call logs.
Implementation
void clear() => _records.clear();
Forgets the records captured so far in this test, for example to check only what a second call logs.
void clear() => _records.clear();