emitsAnyOf<S> static method
Matches when a Velo notifier emits any of the expected states.
Implementation
static Matcher emitsAnyOf<S>(List<S> expectedStates) {
ArgumentError.checkNotNull(expectedStates, 'expectedStates');
if (expectedStates.isEmpty) {
throw ArgumentError.value(
expectedStates,
'expectedStates',
'Cannot be empty',
);
}
return _EmitsAnyOfMatcher<S>(expectedStates);
}