OptionStatus.fromXml constructor

OptionStatus.fromXml(
  1. XmlElement elem
)

Implementation

factory OptionStatus.fromXml(_s.XmlElement elem) {
  return OptionStatus(
    creationDate: _s.extractXmlDateTimeValue(elem, 'CreationDate')!,
    state: _s.extractXmlStringValue(elem, 'State')!.toOptionState(),
    updateDate: _s.extractXmlDateTimeValue(elem, 'UpdateDate')!,
    pendingDeletion: _s.extractXmlBoolValue(elem, 'PendingDeletion'),
    updateVersion: _s.extractXmlIntValue(elem, 'UpdateVersion'),
  );
}