changeStream method Null safety

StreamChannel<T> changeStream(
  1. Stream<T> change(
    1. Stream<T>
    )
)

Returns a copy of this with stream replaced by change's return value.

Implementation

StreamChannel<T> changeStream(Stream<T> Function(Stream<T>) change);