ClusterAssociatedToSchedule.fromXml constructor

ClusterAssociatedToSchedule.fromXml(
  1. XmlElement elem
)

Implementation

factory ClusterAssociatedToSchedule.fromXml(_s.XmlElement elem) {
  return ClusterAssociatedToSchedule(
    clusterIdentifier: _s.extractXmlStringValue(elem, 'ClusterIdentifier'),
    scheduleAssociationState: _s
        .extractXmlStringValue(elem, 'ScheduleAssociationState')
        ?.toScheduleState(),
  );
}