CsvWriteOptions constructor

const CsvWriteOptions({
  1. bool includeHeader = true,
  2. String separator = ',',
  3. bool includeBom = false,
  4. int batchSize = 1024,
  5. String? dateFormat,
  6. String? timeFormat,
  7. String? datetimeFormat,
  8. bool? floatScientific,
  9. int? floatPrecision,
  10. bool decimalComma = false,
  11. String quoteChar = '"',
  12. String nullValue = '',
  13. String lineTerminator = '\n',
  14. CsvQuoteStyle quoteStyle = CsvQuoteStyle.necessary,
  15. 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);