emitsDone top-level property Null safety
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');