clearInteractions function

void clearInteractions(
  1. Object? mock
)

Clear the collected interactions with mock.

Implementation

void clearInteractions(Object? mock) {
  mock as Mock;
  mock._realCalls.clear();
}