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