recordCall method

void recordCall(
  1. String methodName
)

Records a call invocation for the specified methodName.

Implementation

void recordCall(String methodName) {
  _callCounts[methodName] = (_callCounts[methodName] ?? 0) + 1;
}