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