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