CSVOutput.fromXml constructor

CSVOutput.fromXml(
  1. XmlElement? xml
)

Implementation

CSVOutput.fromXml(XmlElement? xml) {
  fieldDelimiter = getProp(xml, 'FieldDelimiter')?.innerText;
  quoteCharacter = getProp(xml, 'QuoteCharacter')?.innerText;
  quoteEscapeCharacter = getProp(xml, 'QuoteEscapeCharacter')?.innerText;
  quoteFields = getProp(xml, 'QuoteFields')?.innerText;
  recordDelimiter = getProp(xml, 'RecordDelimiter')?.innerText;
}