DelegatingStreamConsumer<T> class

Simple delegating wrapper around a StreamConsumer.

Subclasses can override individual methods, or use this to expose only the StreamConsumer methods of a subclass.

Implemented types

Constructors

DelegatingStreamConsumer(StreamConsumer<T> consumer)
Create a delegating consumer forwarding calls to consumer.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addStream(Stream<T> stream) Future
Consumes the elements of stream. [...]
override
close() Future
Tells the consumer that no further streams will be added. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

typed<T>(StreamConsumer consumer) StreamConsumer<T>
Creates a wrapper that coerces the type of consumer. [...]