PrinterFontType.deserialize constructor
PrinterFontType.deserialize(
- XmlElement xml
Implementation
PrinterFontType.deserialize(XmlElement xml)
: this.fontName = xml.getAttribute('fontName') ?? '',
this.fontType = xml.getAttribute('fontType') ?? '',
this.fontBaseWidth =
int.tryParse(xml.getAttribute('fontBaseWidth') ?? '')!,
this.fontBaseHeight =
int.tryParse(xml.getAttribute('fontBaseHeight') ?? '')!;