startChunkedConversion method

  1. @override
ChunkedConversionSink<Object?> startChunkedConversion(
  1. Sink<String> sink
)
override

Starts a chunked conversion.

The converter works more efficiently if the given sink is a StringConversionSink.

Returns a chunked-conversion sink that accepts at most one object. It is an error to invoke add more than once on the returned sink.

Implementation

@override
ChunkedConversionSink<Object?> startChunkedConversion(Sink<String> sink) => jsonEncoder.startChunkedConversion(sink);