whereSelected method
Creates a WidgetSelector that finds all Semantics where selected matches the condition.
Example usage:
spot<Semantics>().whereSelected((it) => it.isTrue()).existsOnce();
Implementation
@useResult
WidgetSelector<Semantics> whereSelected(MatchProp<bool> match) {
return withDiagnosticProp<bool>('selected', match);
}