MessageAttributeValue.fromXml constructor

MessageAttributeValue.fromXml(
  1. XmlElement elem
)

Implementation

factory MessageAttributeValue.fromXml(_s.XmlElement elem) {
  return MessageAttributeValue(
    dataType: _s.extractXmlStringValue(elem, 'DataType')!,
    binaryListValues:
        _s.extractXmlUint8ListListValues(elem, 'BinaryListValue'),
    binaryValue: _s.extractXmlUint8ListValue(elem, 'BinaryValue'),
    stringListValues: _s.extractXmlStringListValues(elem, 'StringListValue'),
    stringValue: _s.extractXmlStringValue(elem, 'StringValue'),
  );
}