CsvConfig.tsv constructor
const
CsvConfig.tsv({
- String lineDelimiter = '\r\n',
- String quoteCharacter = '"',
- String? escapeCharacter,
- QuoteMode quoteMode = QuoteMode.necessary,
- bool addBom = false,
- bool skipEmptyLines = true,
- bool hasHeader = false,
- bool dynamicTyping = true,
- bool strict = false,
- String? comment,
- int skipRows = 0,
- int? maxRows,
- dynamic decoderTransform()?,
- dynamic encoderTransform()?,
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;