StreamQueue<T> constructor Null safety

StreamQueue<T>(
  1. Stream<T> source
)

Create a StreamQueue of the events of source.

Implementation

factory StreamQueue(Stream<T> source) => StreamQueue._(source);