DelegatingStreamConsumer<T> constructor Null safety

DelegatingStreamConsumer<T>(
  1. StreamConsumer<T> consumer
)

Create a delegating consumer forwarding calls to consumer.

Implementation

DelegatingStreamConsumer(StreamConsumer<T> consumer) : _consumer = consumer;