toJson method
Implementation
Map<String, dynamic> toJson() {
final fieldDelimiter = this.fieldDelimiter;
final quoteCharacter = this.quoteCharacter;
final quoteEscapeCharacter = this.quoteEscapeCharacter;
final quoteFields = this.quoteFields;
final recordDelimiter = this.recordDelimiter;
return {
if (fieldDelimiter != null) 'FieldDelimiter': fieldDelimiter,
if (quoteCharacter != null) 'QuoteCharacter': quoteCharacter,
if (quoteEscapeCharacter != null)
'QuoteEscapeCharacter': quoteEscapeCharacter,
if (quoteFields != null) 'QuoteFields': quoteFields.toValue(),
if (recordDelimiter != null) 'RecordDelimiter': recordDelimiter,
};
}