CSVInput.fromXml constructor

CSVInput.fromXml(
  1. XmlElement? xml
)

Implementation

CSVInput.fromXml(XmlElement? xml) {
  allowQuotedRecordDelimiter =
      getProp(xml, 'AllowQuotedRecordDelimiter')?.text.toUpperCase() ==
          'TRUE';
  comments = getProp(xml, 'Comments')?.text;
  fieldDelimiter = getProp(xml, 'FieldDelimiter')?.text;
  fileHeaderInfo = getProp(xml, 'FileHeaderInfo')?.text;
  quoteCharacter = getProp(xml, 'QuoteCharacter')?.text;
  quoteEscapeCharacter = getProp(xml, 'QuoteEscapeCharacter')?.text;
  recordDelimiter = getProp(xml, 'RecordDelimiter')?.text;
}