emitsDone top-level property
Returns a StreamMatcher that asserts that the stream emits a "done" event.
Implementation
final emitsDone = StreamMatcher(
(queue) async => (await queue.hasNext) ? '' : null, 'be done');
Returns a StreamMatcher that asserts that the stream emits a "done" event.
final emitsDone = StreamMatcher(
(queue) async => (await queue.hasNext) ? '' : null, 'be done');