convert method

  1. @override
  2. @nonVirtual
List<XmlEvent> convert(
  1. List<XmlNode> input
)
inherited

Converts input and returns the result of the conversion.

Implementation

@override
@nonVirtual
List<T> convert(List<S> input) {
  final list = <T>[];
  final sink = ConversionSink<List<T>>(list.addAll);
  startChunkedConversion(sink)
    ..add(input)
    ..close();
  return list;
}