whereTooltip method

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

Example usage:

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

Implementation

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