PublicKey.fromXml constructor

PublicKey.fromXml(
  1. XmlElement elem
)

Implementation

factory PublicKey.fromXml(_s.XmlElement elem) {
  return PublicKey(
    createdTime: _s.extractXmlDateTimeValue(elem, 'CreatedTime')!,
    id: _s.extractXmlStringValue(elem, 'Id')!,
    publicKeyConfig:
        PublicKeyConfig.fromXml(_s.extractXmlChild(elem, 'PublicKeyConfig')!),
  );
}