QRCodeBox.deserialize constructor

QRCodeBox.deserialize(
  1. XmlElement node
)

Implementation

QRCodeBox.deserialize(XmlElement node):
  this.imagePaint = stringToBool(node.getAttribute('imagePaint')) ?? false,
  super.deserialize(node) {
  this.content = node.innerText.trim();
  this.binding = node.getAttribute('binding');
  this.format = node.getAttribute('format');
  this.ecc = stringToECC(node.getAttribute('ecc') ?? '');

}