StringStreamConsumer class

A stream consumer class that consumes UTF8 strings as lists of ints.

Implemented types

Constructors

StringStreamConsumer(StringReceivedCallback sendString)

Properties

completers ↔ List<Completer>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendString ↔ StringReceivedCallback
The callback called when this consumer receives input.
getter/setter pair
streams ↔ List<Stream<List<int>>>
getter/setter pair
subscriptions ↔ List<StreamSubscription<List<int>>>
getter/setter pair

Methods

addStream(Stream<List<int>> value) → 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

Operators

operator ==(Object other) → bool
The equality operator.
inherited