StreamConsumerMixin<S> mixin
class MyStreamConsumer with StreamConsumerMixin<S> implements StreamConsumer<S> {
// Must override
@override
StreamConsumer get streamConsumer;
...
}
Methods
-
addStream(Stream<S> 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 nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited