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