withAttributedValue method
Creates a WidgetSelector that finds all Semantics where attributedValue equals (==) value
.
Example usage:
spot<Semantics>().withAttributedValue('foo').existsOnce();
Implementation
@useResult
WidgetSelector<Semantics> withAttributedValue(String? value) {
return withDiagnosticProp<String>('attributedValue',
(it) => value == null ? it.isNull() : it.equals(value));
}