ListVPCAssociationAuthorizationsResponse.fromXml constructor

ListVPCAssociationAuthorizationsResponse.fromXml(
  1. XmlElement elem
)

Implementation

factory ListVPCAssociationAuthorizationsResponse.fromXml(_s.XmlElement elem) {
  return ListVPCAssociationAuthorizationsResponse(
    hostedZoneId: _s.extractXmlStringValue(elem, 'HostedZoneId')!,
    vPCs: _s
        .extractXmlChild(elem, 'VPCs')!
        .findElements('VPC')
        .map((c) => VPC.fromXml(c))
        .toList(),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}