StreamTransformer<RawSocketEvent> 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
/**
* 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.
*/
Stream transform(StreamTransformer<T, dynamic> streamTransformer) {
return streamTransformer.bind(this);
}