hasProperties method

WidgetMatcher<Semantics> hasProperties(
  1. SemanticsProperties? value
)

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));
}