expectAllEmissions method
Asserts that all emissions match the predicate.
Implementation
void expectAllEmissions(
bool Function(StreamStatus<TState>) predicate, [
String? reason,
]) {
expect(
_emissions.every(predicate),
isTrue,
reason: reason ?? 'Not all emissions matched the predicate',
);
}