StreamWrapper<T> constructor

StreamWrapper<T>(
  1. Stream<T>? origin
)

Constructor.

  • origin: the original stream. Note: it can be null. However, if null, you can't call most of methods, including origin. It is design to make it easier to implement a dummy stream.

Implementation

StreamWrapper(Stream<T>? origin): _origin = origin;