W3cubDocs

/Dart 2

startChunkedConversion method

StringConversionSink startChunkedConversion (Sink<String> sink)
override

Starts a chunked conversion.

The returned sink serves as input for the long-running conversion. The given sink serves as output.

Implementation

StringConversionSink startChunkedConversion(Sink<String> sink) {
  return _HtmlEscapeSink(this,
      sink is StringConversionSink ? sink : StringConversionSink.from(sink));
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-convert/HtmlEscape/startChunkedConversion.html