Stream transform(StreamTransformer<T, dynamic> streamTransformer)

Chains this stream as the input of the provided StreamTransformer.

Returns the result of streamTransformer.bind itself.

The streamTransformer can decide whether it wants to return a broadcast stream or not.

Source

Stream/*<S>*/ transform/*<S>*/(
    StreamTransformer<T, dynamic/*=S*/ > streamTransformer) {
  return streamTransformer.bind(this);
}