convert method

  1. @override
List<XmlEvent> convert(
  1. String input, [
  2. int start = 0,
  3. int? end
])
override

Converts input and returns the result of the conversion.

Implementation

@override
List<XmlEvent> convert(String input, [int start = 0, int? end]) {
  // ignore: parameter_assignments
  end = RangeError.checkValidRange(start, end, input.length);
  return XmlEventIterable(input.substring(start, end), entityMapping).toList(growable: false);
}