whereProperties method

Creates a WidgetSelector that finds all Semantics where properties matches the condition.

Example usage:

spot<Semantics>().whereProperties((it) => it.equals(SemanticsProperties())).existsOnce();

Implementation

@useResult
WidgetSelector<Semantics> whereProperties(
    MatchProp<SemanticsProperties> match) {
  return withDiagnosticProp<SemanticsProperties>('properties', match);
}