getCallCount method

int getCallCount(
  1. String methodName
)

Get call count for method

Implementation

int getCallCount(String methodName) {
  return methodCalls.where((call) => call == methodName).length;
}