CsvWriteOptions constructor
const
CsvWriteOptions({
- String separator = ',',
- bool includeBom = false,
- int batchSize = 1024,
- String? dateFormat,
- String? timeFormat,
- String? datetimeFormat,
- bool? floatScientific,
- int? floatPrecision,
- bool decimalComma = false,
- String quoteChar = '"',
- String nullValue = '',
- String lineTerminator = '\n',
- CsvQuoteStyle quoteStyle = CsvQuoteStyle.necessary,
- int? nThreads,
})
Implementation
const CsvWriteOptions({
this.includeHeader = true,
this.separator = ',',
this.includeBom = false,
this.batchSize = 1024,
this.dateFormat,
this.timeFormat,
this.datetimeFormat,
this.floatScientific,
this.floatPrecision,
this.decimalComma = false,
this.quoteChar = '"',
this.nullValue = '',
this.lineTerminator = '\n',
this.quoteStyle = CsvQuoteStyle.necessary,
this.nThreads,
}) : assert(batchSize > 0),
assert(floatPrecision == null || floatPrecision >= 0),
assert(nThreads == null || nThreads > 0);