emitsDone top-level property

StreamMatcher emitsDone
final

Returns a StreamMatcher that asserts that the stream emits a "done" event.

Implementation

final emitsDone = StreamMatcher(
    (queue) async => (await queue.hasNext) ? '' : null, 'be done')