ChunkedConversionSink<T> class
A ChunkedConversionSink is used to transmit data more efficiently between two converters during chunked conversions.
The basic ChunkedConversionSink
is just a Sink, and converters should
work with a plain Sink
, but may work more efficiently with certain
specialized types of ChunkedConversionSink
.
- Implemented types
-
- Sink<
T>
- Sink<
- Implementers
Constructors
- ChunkedConversionSink()
-
ChunkedConversionSink.withCallback(void callback(List<
T> accumulated)) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
add(
T chunk) → void -
Adds chunked data to this sink.
override
-
close(
) → void -
Closes the sink.
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