paintsExactlyCountTimes function

Matcher paintsExactlyCountTimes(
  1. Symbol methodName,
  2. int count
)

Matches objects or functions that draw methodName exactly count number of times.

Implementation

Matcher paintsExactlyCountTimes(Symbol methodName, int count) {
  return _TestRecordingCanvasPaintsCountMatcher(methodName, count);
}