hasTooltip method
Expects that tooltip of Semantics equals (==) value
.
Example usage:
spot<Semantics>().existsOnce().hasTooltip('foo');
Implementation
WidgetMatcher<Semantics> hasTooltip(String? value) {
return hasDiagnosticProp<String>(
'tooltip', (it) => value == null ? it.isNull() : it.equals(value));
}