CsvConfig.tsv constructor

const CsvConfig.tsv({
  1. String lineDelimiter = '\r\n',
  2. String quoteCharacter = '"',
  3. String? escapeCharacter,
  4. QuoteMode quoteMode = QuoteMode.necessary,
  5. bool addBom = false,
  6. bool skipEmptyLines = true,
  7. bool hasHeader = false,
  8. bool dynamicTyping = true,
  9. bool strict = false,
  10. String? comment,
  11. int skipRows = 0,
  12. int? maxRows,
  13. dynamic decoderTransform(
    1. dynamic value,
    2. int index,
    3. String? header
    )?,
  14. dynamic encoderTransform(
    1. dynamic value,
    2. int index,
    3. String? header
    )?,
})

Tab-separated values preset.

Implementation

const CsvConfig.tsv({
  this.lineDelimiter = '\r\n',
  this.quoteCharacter = '"',
  String? escapeCharacter,
  this.quoteMode = QuoteMode.necessary,
  this.addBom = false,
  this.skipEmptyLines = true,
  this.hasHeader = false,
  this.dynamicTyping = true,
  this.strict = false,
  this.comment,
  this.skipRows = 0,
  this.maxRows,
  this.decoderTransform,
  this.encoderTransform,
}) : fieldDelimiter = '\t',
     autoDetect = false,
     escapeCharacter = escapeCharacter ?? quoteCharacter;