toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'CSVOutput',
    nest: () {
      builder.element('FieldDelimiter', nest: fieldDelimiter);
      builder.element('QuoteCharacter', nest: quoteCharacter);
      builder.element('QuoteEscapeCharacter', nest: quoteEscapeCharacter);
      builder.element('QuoteFields', nest: quoteFields);
      builder.element('RecordDelimiter', nest: recordDelimiter);
    },
  );
  return builder.buildDocument();
}