emitsWhere<S> static method

Matcher emitsWhere<S>(
  1. bool predicate(
    1. S state
    )
)

Matches when a Velo notifier emits states that satisfy the given predicate.

Implementation

static Matcher emitsWhere<S>(bool Function(S state) predicate) {
  ArgumentError.checkNotNull(predicate, 'predicate');
  return _EmitsWhereMatcher<S>(predicate);
}