callCount method

int callCount(
  1. String method
)

Count how many times a method was called.

Implementation

int callCount(String method) => _calls.where((c) => c == method).length;