MFADevice.fromXml constructor

MFADevice.fromXml(
  1. XmlElement elem
)

Implementation

factory MFADevice.fromXml(_s.XmlElement elem) {
  return MFADevice(
    enableDate: _s.extractXmlDateTimeValue(elem, 'EnableDate')!,
    serialNumber: _s.extractXmlStringValue(elem, 'SerialNumber')!,
    userName: _s.extractXmlStringValue(elem, 'UserName')!,
  );
}