toXmlEvents method

Stream<List<XmlEvent>> toXmlEvents({
  1. XmlEntityMapping? entityMapping,
  2. bool validateNesting = false,
  3. bool validateDocument = false,
  4. bool withLocation = false,
  5. bool withParent = false,
})

Converts a String to a sequence of XmlEvent objects.

Implementation

Stream<List<XmlEvent>> toXmlEvents({
  XmlEntityMapping? entityMapping,
  bool validateNesting = false,
  bool validateDocument = false,
  bool withLocation = false,
  bool withParent = false,
}) =>
    transform(XmlEventDecoder(
      entityMapping: entityMapping,
      validateNesting: validateNesting,
      validateDocument: validateDocument,
      withLocation: withLocation,
      withParent: withParent,
    ));