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