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