hasDecreasedValue method

WidgetMatcher<Semantics> hasDecreasedValue(
  1. String? value
)

Expects that decreasedValue of Semantics equals (==) value.

Example usage:

spot<Semantics>().existsOnce().hasDecreasedValue('foo');

Implementation

WidgetMatcher<Semantics> hasDecreasedValue(String? value) {
  return hasDiagnosticProp<String>('decreasedValue',
      (it) => value == null ? it.isNull() : it.equals(value));
}