AeaText.fromXML constructor

AeaText.fromXML(
  1. String xmlSTR
)

Implementation

factory AeaText.fromXML(String xmlSTR) {
  final document = XmlDocument.parse(xmlSTR);
  XmlElement textElement = document.rootElement;
  String data = textElement.text;

  return AeaText(data: data);
}