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