ClusterCredentials.fromXml constructor

ClusterCredentials.fromXml(
  1. XmlElement elem
)

Implementation

factory ClusterCredentials.fromXml(_s.XmlElement elem) {
  return ClusterCredentials(
    dbPassword: _s.extractXmlStringValue(elem, 'DbPassword'),
    dbUser: _s.extractXmlStringValue(elem, 'DbUser'),
    expiration: _s.extractXmlDateTimeValue(elem, 'Expiration'),
  );
}