whereHint method

Creates a WidgetSelector that finds all Semantics where hint matches the condition.

Example usage:

spot<Semantics>().whereHint((it) => it.equals('foo')).existsOnce();

Implementation

@useResult
WidgetSelector<Semantics> whereHint(MatchProp<String> match) {
  return withDiagnosticProp<String>('hint', match);
}