hasCheckedWhere method

WidgetMatcher<Semantics> hasCheckedWhere(
  1. MatchProp<bool> match
)

Expects that checked of Semantics matches the condition in match.

Example usage:

spot<Semantics>().existsOnce().hasCheckedWhere((it) => it.isTrue());

Implementation

WidgetMatcher<Semantics> hasCheckedWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('checked', match);
}