ConfluencePageConfiguration.fromJson constructor

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

Implementation

factory ConfluencePageConfiguration.fromJson(Map<String, dynamic> json) {
  return ConfluencePageConfiguration(
    pageFieldMappings: (json['PageFieldMappings'] as List?)
        ?.whereNotNull()
        .map((e) => ConfluencePageToIndexFieldMapping.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}