TransportInfoParser constructor
TransportInfoParser(
- String text
Implementation
TransportInfoParser(String text) {
final doc = XmlDocument.parse(text);
CurrentTransportState =
doc.findAllElements('CurrentTransportState').first.text;
CurrentTransportStatus =
doc.findAllElements('CurrentTransportStatus').first.text;
}