StringConsumer class

Implemented types

Constructors

StringConsumer.new(StringSink sink, {Encoding encoding = CliTool.defaultCliEncoding})

Properties

encoding Encoding
final
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink StringSink
final

Methods

addStream(Stream<List<int>> stream) Future<void>
Consumes the elements of stream.
override
close() Future<void>
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