whereAttributedLabel method

  1. @useResult
WidgetSelector<Semantics> whereAttributedLabel(
  1. MatchProp<String> match
)

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

Example usage:

spot<Semantics>().whereAttributedLabel((it) => it.equals('foo')).existsOnce();

Implementation

@useResult
WidgetSelector<Semantics> whereAttributedLabel(MatchProp<String> match) {
  return withDiagnosticProp<String>('attributedLabel', match);
}