stream method

Stream stream({
  1. int? pauseAfter,
})

Returns a live Stream of Comment and Message objects.

If pauseAfter is provided, the Stream will close after pauseAfter results are yielded. Oldest items are yielded first.

Implementation

Stream stream({int? pauseAfter}) =>
    streamGenerator(unread, pauseAfter: pauseAfter);