hasValueWhere method

WidgetMatcher<Semantics> hasValueWhere(
  1. MatchProp<String> match
)

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);
}