Template.fromXml constructor
Template.fromXml(
- XmlElement elem
Implementation
factory Template.fromXml(_s.XmlElement elem) {
return Template(
templateName: _s.extractXmlStringValue(elem, 'TemplateName')!,
htmlPart: _s.extractXmlStringValue(elem, 'HtmlPart'),
subjectPart: _s.extractXmlStringValue(elem, 'SubjectPart'),
textPart: _s.extractXmlStringValue(elem, 'TextPart'),
);
}