toJson method
Implementation
Map<String, dynamic> toJson() {
final dataSourceFieldName = this.dataSourceFieldName;
final indexFieldName = this.indexFieldName;
final dateFieldFormat = this.dateFieldFormat;
return {
'DataSourceFieldName': dataSourceFieldName,
'IndexFieldName': indexFieldName,
if (dateFieldFormat != null) 'DateFieldFormat': dateFieldFormat,
};
}