clearInteractions function
void
clearInteractions(
- dynamic mock
Clear the collected interactions with mock
.
Implementation
void clearInteractions(dynamic mock) {
if (mock is Mock) {
mock._realCalls.clear();
} else {
_throwMockArgumentError('clearInteractions', mock);
}
}