existsAtMostNTimes method

MultiWidgetMatcher<W> existsAtMostNTimes(
  1. int n
)

Asserts that at most n widgets of type W exist.

Implementation

MultiWidgetMatcher<W> existsAtMostNTimes(int n) => _exists(max: n).multi;