toJson method
Implementation
Map<String, dynamic> toJson() {
final name = this.name;
final allowSingleColumn = this.allowSingleColumn;
final containsHeader = this.containsHeader;
final delimiter = this.delimiter;
final disableValueTrimming = this.disableValueTrimming;
final header = this.header;
final quoteSymbol = this.quoteSymbol;
return {
'Name': name,
if (allowSingleColumn != null) 'AllowSingleColumn': allowSingleColumn,
if (containsHeader != null) 'ContainsHeader': containsHeader.toValue(),
if (delimiter != null) 'Delimiter': delimiter,
if (disableValueTrimming != null)
'DisableValueTrimming': disableValueTrimming,
if (header != null) 'Header': header,
if (quoteSymbol != null) 'QuoteSymbol': quoteSymbol,
};
}