DelegatingStreamConsumer<T> constructor
Null safety
- StreamConsumer<
T> consumer
Create a delegating consumer forwarding calls to consumer
.
Implementation
DelegatingStreamConsumer(StreamConsumer<T> consumer) : _consumer = consumer;