FdcExportOptions constructor

FdcExportOptions({
  1. FdcExportScope scope = FdcExportScope.currentView,
  2. FdcExportValueMode valueMode = FdcExportValueMode.raw,
  3. bool includeHeaders = true,
  4. bool includeNonPersistentFields = false,
  5. List<FdcExportColumn> columns = const <FdcExportColumn>[],
  6. String csvDelimiter = ',',
  7. String lineTerminator = '\n',
  8. String rootElementName = 'rows',
  9. String rowElementName = 'row',
  10. bool sanitizeSpreadsheetFormulas = true,
})

Creates a FdcExportOptions.

Implementation

FdcExportOptions({
  this.scope = FdcExportScope.currentView,
  this.valueMode = FdcExportValueMode.raw,
  this.includeHeaders = true,
  this.includeNonPersistentFields = false,
  this.columns = const <FdcExportColumn>[],
  this.csvDelimiter = ',',
  this.lineTerminator = '\n',
  this.rootElementName = 'rows',
  this.rowElementName = 'row',
  this.sanitizeSpreadsheetFormulas = true,
}) {
  _validateCsvDelimiter(csvDelimiter);
  _validateLineTerminator(lineTerminator);
  _validateXmlElementName(rootElementName, 'rootElementName');
  _validateXmlElementName(rowElementName, 'rowElementName');
}