toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'CSVInput',
nest: () {
builder.element(
'AllowQuotedRecordDelimiter',
nest: allowQuotedRecordDelimiter! ? 'TRUE' : 'FALSE',
);
builder.element('Comments', nest: comments);
builder.element('FieldDelimiter', nest: fieldDelimiter);
builder.element('FileHeaderInfo', nest: fileHeaderInfo);
builder.element('QuoteCharacter', nest: quoteCharacter);
builder.element('QuoteEscapeCharacter', nest: quoteEscapeCharacter);
builder.element('RecordDelimiter', nest: recordDelimiter);
},
);
return builder.buildDocument();
}