convertIterable method

  1. @internal
List<XmlNode> convertIterable(
  1. Iterable<XmlEvent> events
)

Implementation

@internal
List<XmlNode> convertIterable(Iterable<XmlEvent> events) {
  final result = <XmlNode>[];
  final sink =
      _XmlNodeDecoderSink(ConversionSink<List<XmlNode>>(result.addAll));
  events.forEach(sink.visit);
  return result;
}