Authentication.fromXml constructor

Authentication.fromXml(
  1. XmlElement elem
)

Implementation

factory Authentication.fromXml(_s.XmlElement elem) {
  return Authentication(
    passwordCount: _s.extractXmlIntValue(elem, 'PasswordCount'),
    type: _s.extractXmlStringValue(elem, 'Type')?.toAuthenticationType(),
  );
}