ConfluencePageToIndexFieldMapping.fromJson constructor

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

Implementation

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