DataSourceToIndexFieldMapping.fromJson constructor

DataSourceToIndexFieldMapping.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DataSourceToIndexFieldMapping.fromJson(Map<String, dynamic> json) {
  return DataSourceToIndexFieldMapping(
    dataSourceFieldName: json['DataSourceFieldName'] as String,
    indexFieldName: json['IndexFieldName'] as String,
    dateFieldFormat: json['DateFieldFormat'] as String?,
  );
}