clearInteractions function

void clearInteractions (
  1. dynamic mock
)

Clear the collected interactions with mock.

Implementation

void clearInteractions(var mock) {
  mock._realCalls.clear();
}