ReadOuterXml method

Future<String> ReadOuterXml()
Reads the Outer XML at the given location.

Implementation

Future<String> ReadOuterXml() async {
  if (!IsStartElement()) {
    throw ServiceXmlDeserializationException(
      "Strings.CurrentPositionNotElementStart",
    );
  }

  return _xmlReader.ReadOuterXml();
}