transformSink method Null safety

  1. @override
StreamChannel<T> transformSink(
  1. StreamSinkTransformer<T, T> transformer
)
override

Transforms only the sink component of this using transformer.

Implementation

@override
StreamChannel<T> transformSink(StreamSinkTransformer<T, T> transformer) =>
    changeSink(transformer.bind);