transform<S> method Null safety

  1. @override
StreamChannel<S> transform<S>(
  1. StreamChannelTransformer<S, T> transformer
)
override

Transforms this using transformer.

This is identical to calling transformer.bind(channel).

Implementation

@override
StreamChannel<S> transform<S>(StreamChannelTransformer<S, T> transformer) =>
    transformer.bind(this);