CryptAlgorithm.fromXML constructor

CryptAlgorithm.fromXML(
  1. String xmlSTR
)

Implementation

factory CryptAlgorithm.fromXML(String xmlSTR) {
  final document = XmlDocument.parse(xmlSTR);
  String name = document.getAttribute("name") ?? "";

  return CryptAlgorithm(name: name);
}