FdcExportOptions constructor
FdcExportOptions({
- FdcExportScope scope = FdcExportScope.currentView,
- FdcExportValueMode valueMode = FdcExportValueMode.raw,
- bool includeHeaders = true,
- bool includeNonPersistentFields = false,
- List<
FdcExportColumn> columns = const <FdcExportColumn>[], - String csvDelimiter = ',',
- String lineTerminator = '\n',
- String rootElementName = 'rows',
- String rowElementName = 'row',
- 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');
}