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