hasSelected method
Expects that selected of Semantics equals (==) value
.
Example usage:
spot<Semantics>().existsOnce().hasSelected(true);
Implementation
WidgetMatcher<Semantics> hasSelected(bool? value) {
return hasDiagnosticProp<bool>(
'selected', (it) => value == null ? it.isNull() : it.equals(value));
}