A converter that supports chunked conversions.

In addition to immediate conversions from S to T, a chunked converter also supports longer-running conversions from S2 to T2.

Frequently, the source and target types are the same, but this is not a requirement. In particular, converters that work with lists in the immediate conversion, could flatten the type for the chunked conversion.

For example, the LineSplitter class returns a List<String> for the immediate conversion, but returns individual Strings in the chunked conversion.

Inheritance
Implemented by

Constructors

ChunkedConverter()

const

Properties

hashCode → int

Get a hash code for this object.…

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.…

inherited

Methods

bind(Stream<S2> stream) → Stream<T2>

Deprecated.…

convert(S input) → T

Converts input and returns the result of the conversion.

inherited
fuse(Converter<T, dynamic> other) → Converter<S, dynamic>

Fuses this instance with the given other converter.…

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

inherited
startChunkedConversion(Sink<T2> sink) → ChunkedConversionSink<S2>

Starts a chunked conversion.…

toString() → String

Returns a string representation of this object.

inherited