convert method

  1. @override
String convert(
  1. List<XmlEvent> input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
String convert(List<XmlEvent> input) {
  final buffer = StringBuffer();
  final sink = ConversionSink<String>(buffer.write);
  startChunkedConversion(sink)
    ..add(input)
    ..close();
  return buffer.toString();
}