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