DescribeLifecycleHooksAnswer.fromXml constructor

DescribeLifecycleHooksAnswer.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeLifecycleHooksAnswer.fromXml(_s.XmlElement elem) {
  return DescribeLifecycleHooksAnswer(
    lifecycleHooks: _s.extractXmlChild(elem, 'LifecycleHooks')?.let((elem) =>
        elem
            .findElements('member')
            .map((c) => LifecycleHook.fromXml(c))
            .toList()),
  );
}