hasSelectedWhere method
Expects that selected of Semantics matches the condition in match
.
Example usage:
spot<Semantics>().existsOnce().hasSelectedWhere((it) => it.isTrue());
Implementation
WidgetMatcher<Semantics> hasSelectedWhere(MatchProp<bool> match) {
return hasDiagnosticProp<bool>('selected', match);
}