getCallCount method

int getCallCount(
  1. String methodName
)

Returns the number of times methodName was invoked.

Implementation

int getCallCount(String methodName) => _callCounts[methodName] ?? 0;