parseXml function

Map parseXml(
  1. String xml
)

Implementation

Map parseXml(String xml) {
  Xml2Json myTransformer = Xml2Json();
  myTransformer.parse(xml);
  return jsonDecode(myTransformer.toParker());
}