ListJobsResult.fromXml constructor

ListJobsResult.fromXml(
  1. XmlElement elem
)

Implementation

factory ListJobsResult.fromXml(_s.XmlElement elem) {
  return ListJobsResult(
    jobs: _s.extractXmlChild(elem, 'Jobs')?.let((elem) => elem
        .findElements('member')
        .map((c) => JobListDescriptor.fromXml(c))
        .toList()),
    nextToken: _s.extractXmlStringValue(elem, 'NextToken'),
  );
}