PlatformApplication.fromXml constructor
PlatformApplication.fromXml(
- XmlElement elem
Implementation
factory PlatformApplication.fromXml(_s.XmlElement elem) {
return PlatformApplication(
attributes: Map.fromEntries(
elem.getElement('Attributes')?.findElements('entry').map(
(c) => MapEntry(
_s.extractXmlStringValue(c, 'key')!,
_s.extractXmlStringValue(c, 'value')!,
),
) ??
{},
),
platformApplicationArn:
_s.extractXmlStringValue(elem, 'PlatformApplicationArn'),
);
}