hasValueWhere method
Expects that value of Semantics matches the condition in match
.
Example usage:
spot<Semantics>().existsOnce().hasValueWhere((it) => it.equals('foo'));
Implementation
WidgetMatcher<Semantics> hasValueWhere(MatchProp<String> match) {
return hasDiagnosticProp<String>('value', match);
}