toJson method

Map<String, dynamic> toJson()

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,
  };
}